Transforms API data into a component builder
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
T | keyof MappedComponentBuilderTypes | No | None |
Name | Type | Optional | Description |
---|---|---|---|
data | APIMessageComponent & { type: T } | No | The data to create the component from |
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
T | keyof MappedComponentBuilderTypes | No | None |
Name | Type | Optional | Description |
---|---|---|---|
data | APIMessageComponent & { type: T } | No | The data to create the component from |