@trail-ui/react
Version:
15 lines (12 loc) • 526 B
TypeScript
import * as react from 'react';
import { IconButtonProps } from './icon-button.js';
import '@trail-ui/theme';
import 'react-aria-components';
interface CloseButtonProps extends Omit<IconButtonProps, 'aria-label'> {
'aria-label'?: string;
}
/**
* A button allows a user to perform an action, with mouse, touch, and keyboard interactions.
*/
declare const _CloseButton: react.ForwardRefExoticComponent<CloseButtonProps & react.RefAttributes<HTMLButtonElement>>;
export { _CloseButton as CloseButton, CloseButtonProps };