Toggles
Toggle is a way to list out set of field(s) inside a section.
- Type :
Object
- Source Component :
<PanelBody />
Options
title
string - Section title.isOpen
boolean - Initial state of the section.
Example
"toggles": {
"bio-data": {
"title": "Bio",
"isOpen": false
},
"contact-data": {
"title": "Contacts",
"isOpen": true
}
}