import * as React from "react"; export type ButtonType = "primary" | "danger" | null; export default 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; }) { const { onClick, icon, type, text, bordered, shadow, className, title, disabled, tabIndex, autoFocus, } = props; return ( ); }