import type { CSSProperties } from 'react'; import clsx from 'clsx'; import * as React from 'react'; import styles from './button.module.scss'; export type ButtonType = 'primary' | 'danger' | null; export function IconButton(props: { onClick?: () => void; icon?: JSX.Element; type?: ButtonType; text?: string; bordered?: boolean; shadow?: boolean; className?: string; title?: string; disabled?: boolean; tabIndex?: number; autoFocus?: boolean; style?: CSSProperties; aria?: string; }) { return ( ); }