UNPKG

@uva-glass/component-library

Version:

React components UvA

14 lines (13 loc) 721 B
import { ButtonHTMLAttributes } from 'react'; export interface IconButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'style'> { /** The value of the aria-label. */ 'aria-label': string; /** The variant of the button. */ variant?: 'destructive'; /** true if the button should be rendered without a border; otherwise, false. The default is false. */ noBorder?: boolean; /** true to render the button a bit wider; otherwise, false. The default is false. */ wide?: boolean; } /** Represents a component for a button with an icon. */ export declare const IconButton: import('react').ForwardRefExoticComponent<IconButtonProps & import('react').RefAttributes<HTMLButtonElement>>;