Text
Renders normal text.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| text | String | The text content to render. | |
| color | String | #000000 | Text color. Example: ‚#333333‘ or color name like ‚onBackground‘. |
| fontSize | Int | 14 | Font size in sp. |
| fontWeight | String | Normal | Font weight. Example: Normal, Bold, Medium, etc. |
| textAlign | String | Left | Text alignment: Left, Center, Right, Justify. |
| padding | String | Space around the content. Accepts 1, 2 or 4 integers (in dp): ‚8‘ (all), ‚8 16‘ (vertical horizontal), or ‚8 16 16 8‘ (top right bottom left). |
