Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
/**
* Lifecycle. Renders the UI of the button.
*
* @method render
* @return {Object} The content which should be rendered.
*/
render() {
return (
<select tabindex="{this.props.tabIndex}">
{this.getImageVariationOptions()}
</select>
);
}
}
AlloyEditor.Buttons[EzBtnImageVariation.key] = AlloyEditor.EzBtnImageVariation = EzBtnImageVariation;
eZ.addConfig('ezAlloyEditor.ezBtnImageVariation', EzBtnImageVariation);
* @return {Object} The content which should be rendered.
*/
render() {
return (
<select tabindex="{this.props.tabIndex}">
{this.getImageVariationOptions()}
</select>
);
}
}
AlloyEditor.Buttons[EzBtnImageVariation.key] = AlloyEditor.EzBtnImageVariation = EzBtnImageVariation;
const eZ = (window.eZ = window.eZ || {});
eZ.ezAlloyEditor = eZ.ezAlloyEditor || {};
eZ.ezAlloyEditor.ezBtnImageVariation = EzBtnImageVariation;