Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from 'react';
import AlloyEditor from 'alloyeditor';
export default class EzBtnStylesListItem extends AlloyEditor.ButtonStylesListItem {
/**
* Lifecycle. Renders the UI of the button.
*
* @instance
* @memberof ButtonStylesListItem
* @method render
* @return {Object} The content which should be rendered.
*/
render() {
const className = this.props.name === this.props.activeStyle ? 'ae-toolbar-element active' : 'ae-toolbar-element';
return (
<button> {</button>
import React from 'react';
import AlloyEditor from 'alloyeditor';
export default class EzBtnStylesListItem extends AlloyEditor.ButtonStylesListItem {
/**
* Lifecycle. Renders the UI of the button.
*
* @instance
* @memberof ButtonStylesListItem
* @method render
* @return {Object} The content which should be rendered.
*/
render() {
const className = this.props.name === this.props.activeStyle ? 'ae-toolbar-element active' : 'ae-toolbar-element';
return (
<button> {</button>