Liferay.Loader.define("style-book-web@2.0.76/js/style-book-editor/frontend_tokens/BooleanFrontendToken",["module","exports","require","@frontend-taglib-clay$clayui/form","@liferay/layout-content-page-editor-web","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,t,r){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function BooleanFrontendToken({frontendToken:e,onValueSelect:t,value:r}){const{label:l}=e,[i,u]=(0,o.useControlledState)(r||!1);return a.default.createElement(n.default.Group,{small:!0},a.default.createElement(n.ClayCheckbox,{checked:i,label:l,onChange:e=>{const r=e.target.checked;u(r),t(r)}}))};var n=function _interopRequireWildcard(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,t&&t.set(e,r);return r}(r("@frontend-taglib-clay$clayui/form")),o=r("@liferay/layout-content-page-editor-web"),a=(_interopRequireDefault(r("liferay!frontend-js-react-web$prop-types")),_interopRequireDefault(r("liferay!frontend-js-react-web$react")));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _getRequireWildcardCache(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return _getRequireWildcardCache=function _getRequireWildcardCache(){return e},e}}}));
//# sourceMappingURL=BooleanFrontendToken.js.map