AddQueryParameterButton.jsx
1 year ago
BlockSettings.jsx
1 year ago
ControlBuilder.jsx
1 year ago
DateQueryControl.jsx
1 year ago
DateTimeControl.jsx
1 year ago
ParameterControl.jsx
1 year ago
ParameterList.jsx
1 year ago
QueryInspectorControls.jsx
1 year ago
SelectQueryParameter.jsx
1 year ago
TaxonomyParameterControl.jsx
1 year ago
editor.scss
1 year ago
AddQueryParameterButton.jsx
15 lines
| 1 | import { Button } from '@wordpress/components'; |
| 2 | import { __ } from '@wordpress/i18n'; |
| 3 | |
| 4 | export function AddQueryParameterButton( props ) { |
| 5 | return ( |
| 6 | <div style={ { marginBottom: '1.33em' } }> |
| 7 | <Button |
| 8 | isPrimary |
| 9 | text={ __( 'Add Parameter', 'generateblocks' ) } |
| 10 | { ...props } |
| 11 | /> |
| 12 | </div> |
| 13 | ); |
| 14 | } |
| 15 |