@wordpress/block-library
Version:
Block library for the WordPress editor.
8 lines (7 loc) • 694 B
Source Map (JSON)
{
"version": 3,
"sources": ["../../../../src/terms-query/edit/inspector-controls/empty-terms-control.js"],
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { ToggleControl } from '@wordpress/components';\n\nexport default function EmptyTermsControl( { value, onChange, ...props } ) {\n\treturn (\n\t\t<ToggleControl\n\t\t\tchecked={ ! value }\n\t\t\tonChange={ ( showEmpty ) => onChange( ! showEmpty ) }\n\t\t\t{ ...props }\n\t\t/>\n\t);\n}\n"],
"mappings": ";AAGA,SAAS,qBAAqB;AAI5B;AAFa,SAAR,kBAAoC,EAAE,OAAO,UAAU,GAAG,MAAM,GAAI;AAC1E,SACC;AAAA,IAAC;AAAA;AAAA,MACA,SAAU,CAAE;AAAA,MACZ,UAAW,CAAE,cAAe,SAAU,CAAE,SAAU;AAAA,MAChD,GAAG;AAAA;AAAA,EACN;AAEF;",
"names": []
}