Type to structure a component from its creation
The declaration const myComponent: Component<Props, MetaProps>
defines at the Typescript level the types of props and other options with which the component should be structured.
This process is strict but makes autocompletion and error detection easier in the component declaration.
Some warnings that this type can create are:
The declaration of the prop in myComponents.props does not match the type declared in Props.
A props declaration is missing.
Props has invalid metadata, example reflect has been defined for a Promise type.