*Updated getListOfAComponent

Was List<dynamic> but works better as List<T>