@wordpress/block-library
Version:
Block library for the WordPress editor.
1 lines • 801 B
Source Map (JSON)
{"version":3,"file":"query-pagination-label-control.cjs","names":["ToggleControl","__"],"sources":["../../src/query-pagination/query-pagination-label-control.jsx"],"sourcesContent":["import { __ } from '@wordpress/i18n';\nimport { ToggleControl } from '@wordpress/components';\n\nexport function QueryPaginationLabelControl( { value, onChange } ) {\n\treturn (\n\t\t<ToggleControl\n\t\t\tlabel={ __( 'Show label text' ) }\n\t\t\thelp={ __( 'Make label text visible, e.g. \"Next Page\".' ) }\n\t\t\tonChange={ onChange }\n\t\t\tchecked={ value === true }\n\t\t/>\n\t);\n}\n"],"mappings":";;;;;;;;;AAGA,SAAgB,4BAA6B,EAAE,OAAO,YAAa;CAClE,OACC,iBAAA,GAAA,kBAAA,IAAA,CAACA,sBAAAA,eAAD;EACC,QAAA,GAAQC,gBAAAA,GAAAA,CAAI,iBAAkB;EAC9B,OAAA,GAAOA,gBAAAA,GAAAA,CAAI,8CAA6C;EAC7C;EACX,SAAU,UAAU;CACpB,CAAA;AAEH"}