import { type RefAttributes } from 'react'; import { IconDefinition } from '@mezzanine-ui/icons'; import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types'; export type NavigationIconButtonProps = Omit, 'children'> & { /** * Whether the button is in an active state. */ active?: boolean; /** * The icon to be displayed. */ icon: IconDefinition; } & { /** * Accessible name for the button. * * This component renders an icon and nothing else — `children` is not * accepted — so there is no visible text for assistive technology to fall * back on. Without `aria-label` the button has no accessible name at all and * axe reports a critical `button-name`. */ 'aria-label'?: string; }; declare const NavigationIconButton: ({ ref, ...props }: NavigationIconButtonProps & RefAttributes) => import("react/jsx-runtime").JSX.Element; export default NavigationIconButton;