@wordpress/preferences
Version:
Utilities for managing WordPress preferences.
32 lines (17 loc) • 461 B
Markdown
# PreferencesModalSection
`PreferencesModalSection` renders a section (as a fieldset) meant to be used with `PreferencesModal`.
## Example
See the `PreferencesModal` readme for usage info.
## Props
### title
The title of the section
- Type: `String`
- Required: Yes.
### description
The description for the section.
- Type: `String`
- Required: No.
### children
Components to be rendered as content.
- Type: `Element`
- Required: Yes.