Checkbox

"testCheckbox": {
"type": "boolean",
"default": true
}
import {
TwebBlockCheckboxControl,
} from '@tigriweb/components/attributes';
<TwebBlockCheckboxControl
label={ __('Checkbox Label', 'your-theme-name') }
help={ __('Checkbox Description', 'your-theme-name') }
name="testCheckbox"
{...{ attributes, setAttributes }}
/>
Last updated
Was this helpful?