Core API Overview > @adpt/core > AdaptElement > componentType
AdaptElement.componentType property
The type of component that is associated with this element.
Signature:
readonly componentType: ComponentType<P>;
Remarks
For class components, this is the class (constructor) object. For function components, this is the function object.