29 lines
431 B
Markdown

**STRUCT**
# `Text`
A text widget.
## Properties
### `text`
The content.
## Methods
### `init(_:)`
Initialize a text widget.
- Parameter text: The content.
### `update(_:modifiers:)`
Update the view storage of the text widget.
- Parameters:
- storage: The view storage.
- modifiers: Modify views before being updated.
### `container(modifiers:)`
Get the container of the text widget.
- Returns: The view storage.