Skip to main content
Version: v1.0.4

InheritedComponent

InheritedComponent: Partial<IndividualComponent> & object

An InheritedComponent is a component that inherits properties from a baseComponent. This is used to avoid repeating properties in components. This also means that components in the baseComponents object can be partially defined, while components in the components object can inherit from them and must be fully defined and include all properties (after potentially merging with a base component).

Type declaration

baseComponent

baseComponent: string

Source

parser/types.ts:1054