TigriWeb Components
AttributesControlsMetaPrimitivesIntegrations
  • Table of Contents
  • Attributes
    • Checkbox
    • Color
    • ColorGradient
    • DateTime
    • Icon
    • Media
    • Number
    • PostType
    • PostTypeMultiple
    • Radio
    • Range
    • Select
    • Taxonomy
    • TaxonomyMultiple
    • Text
    • Textarea
    • Toggle
    • ToolbarButton
    • ToolbarGroup
  • Controls
    • AppenderButton
    • Media
    • RichHeading
    • RichText
  • Meta
    • Checkbox
    • Color
    • DateTime
    • Icon
    • Media
    • Number
    • PostType
    • PostTypeMultiple
    • Radio
    • Range
    • Select
    • Taxonomy
    • TaxonomyMultiple
    • Text
    • Textarea
    • Toggle
  • Primitives
    • HTML
    • SVG
  • Integrations
    • Enqueue SVG icons
    • Enqueue I18n strings
Powered by GitBook
On this page

Was this helpful?

  1. Controls

AppenderButton

PreviousControlsNextMedia

Last updated 6 months ago

Was this helpful?

{ 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 }
/>

TwebBlockAppenderButton