Icon
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
/**
* @param {string} [label] - Component label.
* @param {string} [help] - Component description.
* @param {string} name - Attribute name.
* @param {object} attributes - Object containing block attributes.
* @param {function} setAttributes - Function to set new block attribute values.
*/"testIcon": {
"type": "string",
"default": "map-pin-heart"
}import {
TwebBlockIconControl,
} from '@tigriweb/components/attributes';<TwebBlockIconControl
label={ __('Icon Label', 'your-theme-name') }
help={ __('Icon Description', 'your-theme-name') }
name="testIcon"
{...{ attributes, setAttributes }}
/>