import Button from 'react-bootstrap/Button'; import OverlayTrigger from 'react-bootstrap/OverlayTrigger'; import Tooltip from 'react-bootstrap/Tooltip'; import Image from 'react-bootstrap/Image'; import React from 'react'; interface ActionButtonProperties { readonly id: string; readonly action: { readonly id: string; readonly tooltip: string; readonly icon: string; }; readonly onAction: (action: string) => void; readonly enabled?: boolean; } class ActionButton extends React.Component { render(): JSX.Element { return ( {this.props.action.tooltip}. } > ); } } export default ActionButton;