Text
A text container that supports text selection.
Examples
Basic
This is regular text
Selectable
This text can be selected and copied
API
Props
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
selectable | Whether text is selectable | boolean | false |
space | How consecutive spaces are displayed | string | - |
decode | Whether to decode HTML entities | boolean | false |