SettingsControlProps
Interface of @webcodingcat/wp-app-framework/settings, for type checks in your IDE.
Props of a control registered with registerSettingsControl().
Members
value
The value the control replaces: a setting, a field of a value class or an item of a list.
onChange
Sets the value.
path
Where the value is in the group: the setting, the fields and, for list items, their index, e.g. ['schemes', 0].
groupValue
The value of the whole group, with the changes not saved yet.
DefaultControl
The control the settings page would show without yours; render it to add to it instead of replacing it.