createComponentBuilder
Factory for creating components from API data
| Name | Constraints | Optional | Default | Description |
|---|---|---|---|---|
| T | keyof MappedComponentTypes | No | None |
| Name | Type | Optional | Description |
|---|---|---|---|
| data | (APIMessageComponent | APIModalComponent) & { type: T; } | No | The api data to transform to a component class |