UNPKG

@trail-ui/react

Version:
18 lines (15 loc) 651 B
import * as react from 'react'; import { ButtonVariantProps } from '@trail-ui/theme'; import { ButtonProps } from 'react-aria-components'; interface IconButtonProps extends Omit<ButtonProps, 'className'>, Omit<ButtonVariantProps, 'isInGroup' | 'fullWidth'> { /** * A11y: A label that describes the button */ 'aria-label': string; className?: string; } /** * A button allows a user to perform an action, with mouse, touch, and keyboard interactions. */ declare const _IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<HTMLButtonElement>>; export { _IconButton as IconButton, IconButtonProps };