UNPKG

@adaptabletools/adaptable

Version:

Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

10 lines (9 loc) 484 B
import { jsx as _jsx } from "react/jsx-runtime"; import * as React from 'react'; import SimpleButton from '../../../components/SimpleButton'; export class ButtonClear extends React.Component { render() { const { showText, showIcon, ...innerProps } = this.props; return (_jsx(SimpleButton, { "data-name": "clear", tooltip: "Clear", iconSize: 20, icon: showIcon == false ? '' : 'close', ...innerProps, variant: "text", children: showText ? 'Clear' : '' })); } }