UNPKG

@uva-glass/component-library

Version:

React components UvA

10 lines (9 loc) 607 B
import { ButtonHTMLAttributes } from 'react'; export interface OverlayCloseButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'style'> { /** The `aria-label` value of the button. */ 'aria-label': string; /** `true` to add padding around the button; otherwise, `false`. The default is `false`. */ paddedModal?: boolean; } /** Represents a component to render a close button in the top right corner of a container. */ export declare const OverlayCloseButton: import('react').ForwardRefExoticComponent<OverlayCloseButtonProps & import('react').RefAttributes<HTMLButtonElement>>;