Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions snaps/features/custom-ui/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1241,14 +1241,19 @@ Outputs text.
#### Props

- `color` - (Optional) The color of the text.
Possible values are `"default"`, "`alternative`", `"muted"`, `"error"`, `"success"`, and `"warning"`.
Possible values are `"default"`, `"alternative"`, `"muted"`, `"error"`, `"success"`, and `"warning"`.
The default is `"default"`.
- `alignment` - (Optional) The alignment of the text.
Possible values are `"start"`, `"center"`, and `"end"`.
The default is `"start"`.
- `children` - The content to display.
This can include strings, and [`Bold`](#bold), [`Italic`](#italic), [`Icon`](#icon), [`Link`](#link), and [`Skeleton`](#skeleton) components.

- `size` - (Optional) The size of the text.
Possible values are `"sm"` and `"md"`.
The default is `"md"`.
- `fontWeight` - (Optional) The font weight of the text.
Possible values are `"regular"`, `"medium"`, and `"bold"`.
The default is `"regular"`.

#### Example

Expand Down
Loading