@visa/nova-react
Version:
Visa Product Design System Nova React library
16 lines (15 loc) • 662 B
TypeScript
import { ElementType, ForwardedRef } from 'react';
export type ScreenReaderProperties = {
/** @ignore */
className?: string;
/** Tag of Component */
tag?: ElementType;
};
/**
* Text elements to only be read by screen readers but not shown visually on screen.
*/
declare const _default: <HTMLElementType = HTMLSpanElement>(props: {
children?: import("react").ReactNode | import("react").ReactNode[];
ref?: ForwardedRef<HTMLElementType> | undefined;
} & import("react").AllHTMLAttributes<HTMLElementType> & import("react").SVGAttributes<HTMLElementType> & ScreenReaderProperties) => import("react").ReactElement;
export default _default;