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, { Component } from 'react';
import PropTypes from 'prop-types';
import AlloyEditor from 'alloyeditor';
export default class EzBtnTableRemove extends AlloyEditor.ButtonTableRemove {
static get key() {
return 'eztableremove';
}
render() {
return (
<button data-type="button-table-remove" aria-label="{AlloyEditor.Strings.deleteTable}"> {
this._removeTable();
this.fireCustomUpdateEvent();
}}
tabIndex={this.props.tabIndex}
title={AlloyEditor.Strings.deleteTable}></button>
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import AlloyEditor from 'alloyeditor';
export default class EzBtnTableRemove extends AlloyEditor.ButtonTableRemove {
static get key() {
return 'eztableremove';
}
render() {
return (
<button data-type="button-table-remove" aria-label="{AlloyEditor.Strings.deleteTable}"> {
this._removeTable();
this.fireCustomUpdateEvent();
}}
tabIndex={this.props.tabIndex}
title={AlloyEditor.Strings.deleteTable}></button>