AppenderButton

TwebBlockAppenderButton

{ className, label, labelText, clientId* }
/**
 * @param {string} className - CSS class name for styling the element.
 * @param {string} label - Title label for the button.
 * @param {string} labelText - Text label for the button.
 * @param {string} clientId - The clientId from edit({ clientId }).
 */
index.js
import {
	TwebBlockAppenderButton,
} from '@tigriweb/components/controls';
index.js | edit()
<TwebBlockAppenderButton
	className="custom-class"
	label={ __('Add Slide Item', 'tweb') }
	clientId={ clientId }
/>

Last updated