import { FC } from 'react';
import { ActionButton } from './action-button';

export const ActionButtonEdit: FC<{
    disabled?: boolean;
    tooltip?: string;
    onClick?(): void;
}> = props => (
    <ActionButton
        {...props}
        iconName="edit"
        hover="primary"
        qaPrefix="qa-action-button-edit"
        tooltip={props.tooltip}
    >
        Edit
    </ActionButton>
);
