UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

22 lines 793 B
import type React from 'react'; import { type ElementType } from 'react'; import type { PolymorphicProps } from '../utils/modern-polymorphic'; export type AriaStatusProps<As extends ElementType = 'div'> = PolymorphicProps<As, 'div', { /** * Specify if the content of the element should be announced when this * component is rendered and is not hidden * @default false */ announceOnShow?: boolean; /** * Specify if the element is hidden * @default false */ hidden?: boolean; /** * Provide a delay in milliseconds before the announcement is made */ delayMs?: number; }>; export declare function AriaStatus<As extends ElementType = 'div'>(props: AriaStatusProps<As>): React.JSX.Element; //# sourceMappingURL=AriaStatus.d.ts.map