import { MouseEvent, ReactElement } from 'react'; import { CommonProps } from '../common'; export interface CloseButtonProps extends CommonProps { /** * Set the handler to handle `click` event. */ onClick?: (e: MouseEvent) => void; } declare const CloseButton: ({ onClick, id, className, style, sx, "data-test-id": dataTestId, }: CloseButtonProps) => ReactElement; export default CloseButton;