Scene components are declared with numbers to indicate the type of component, there is a possibility to use an ENUM type to indicate the type of component (but also to allow better readability).
| Type | String | Description |
|---|---|---|
| 1 | ACTION_ROW |
An action row acting as a component container. |
| 2 | BUTTON |
A button component. |
| 3 | SELECT_MENU |
A select menu component. |
| Style | String | Color |
|---|---|---|
| 1 | PRIMARY |
Blue |
| 2 | SECONDARY |
Grey |
| 3 | SUCCESS |
Green |
| 4 | DANGER |
Red |
| 5 | LINK* |
Grey |
LINK*- only used to link elsewhere, not to navigate.