addComponentStyle(arr, component) {
    if (component && component.styles) {
      component.styles.forEach((scss) => {
        if (!arr.includes(scss)) {
          arr.push(scss);
        }
      });
    }

  }
Validate if the object exists in componentDependencies and has any styles
if so, add them to the arr

@param {Array} arr - Styles array
@param {Object} component - componentDependencies[key]