import { Button } from '@blueprintjs/core'; import type { CSSProperties, MouseEvent } from 'react'; interface ActionButtonsProps { onDone: (event?: MouseEvent) => void; onCancel: (event?: MouseEvent) => void; doneLabel?: string; cancelLabel?: string; style?: CSSProperties; disabledDone?: boolean; } export default function ActionButtons(props: ActionButtonsProps) { const { onDone, onCancel, doneLabel = 'Apply', cancelLabel = 'Cancel', style = {}, disabledDone = false, } = props; return (
); }