UNPKG

@visa/nova-react

Version:

Visa Product Design System Nova React library. Compatible with React ^19.

14 lines (13 loc) 551 B
import type { ComponentPropsWithRef, ElementType } from 'react'; export type ScreenReaderProperties<ET extends ElementType = 'span'> = { /** Tag of Component */ tag?: ElementType; } & ComponentPropsWithRef<ET>; /** * Text elements to only be read by screen readers but not shown visually on screen. */ declare const ScreenReader: { <ET extends ElementType = "span">({ className, tag: Tag, ...remainingProps }: ScreenReaderProperties<ET>): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default ScreenReader;