import type { AriaAttributes, ComponentType, SVGAttributes } from 'react'; import styles from '../Toolbar.module.css'; interface Props extends AriaAttributes { label: string; icon?: ComponentType>; iconOnly?: boolean; small?: boolean; raised?: boolean; onClick: () => void; disabled?: boolean; } function Btn(props: Props) { const { label, icon: Icon, iconOnly, small, raised, disabled, onClick, ...ariaAttrs } = props; return ( ); } export type { Props as BtnProps }; export default Btn;