import React, { ReactChild } from 'react'; import classnames from 'classnames'; import TickIcon from '../icons/TickIcon'; // @ts-ignore import styles from './ToolbarItem.less'; interface Props { children: ReactChild; title: string; active?: boolean; success?: boolean; disabled?: boolean; showIndicator?: boolean; onClick: () => void; ['data-testid']?: string; } export default ({ children, title, active = false, disabled = false, showIndicator = false, success = false, onClick, ['data-testid']: dataTestId, }: Props) => ( );