@wordpress/block-library
Version:
Block library for the WordPress editor.
1 lines • 614 B
Source Map (JSON)
{"version":3,"file":"empty-terms-control.mjs","names":[],"sources":["../../../../src/terms-query/edit/inspector-controls/empty-terms-control.jsx"],"sourcesContent":["import { 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":";;;AAEA,SAAwB,kBAAmB,EAAE,OAAO,UAAU,GAAG,SAAU;CAC1E,OACC,oBAAC,eAAD;EACC,SAAU,CAAE;EACZ,WAAa,cAAe,SAAU,CAAE,SAAU;EAClD,GAAK;CACL,CAAA;AAEH"}