# Interface: ComponentConstructor<T>
An interface for a constructor of a component.
# Type parameters
| Name | Type | Description |
|---|---|---|
T | extends Component = Component | The class the constructor creates. |
# Table of contents
# Constructors
# Methods
# Constructors
# constructor
• new ComponentConstructor(...p)
The constructor function.
# Parameters
| Name | Type |
|---|---|
...p | any[] |
# Defined in
src/core/Component.ts:10 (opens new window)
# Methods
# getComponentBit
▸ getComponentBit(): number
# Returns
number
The component bit.