Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
29 lines
1005 B
Plaintext
29 lines
1005 B
Plaintext
import { DOMAttributes } from "@react-types/shared";
|
|
import { JSX, JSXElementConstructor, ReactNode } from "react";
|
|
export interface VisuallyHiddenProps extends DOMAttributes {
|
|
/** The content to visually hide. */
|
|
children?: ReactNode;
|
|
/**
|
|
* The element type for the container.
|
|
* @default 'div'
|
|
*/
|
|
elementType?: string | JSXElementConstructor<any>;
|
|
/** Whether the element should become visible on focus, for example skip links. */
|
|
isFocusable?: boolean;
|
|
}
|
|
export interface VisuallyHiddenAria {
|
|
visuallyHiddenProps: DOMAttributes;
|
|
}
|
|
/**
|
|
* Provides props for an element that hides its children visually
|
|
* but keeps content visible to assistive technology.
|
|
*/
|
|
export function useVisuallyHidden(props?: VisuallyHiddenProps): VisuallyHiddenAria;
|
|
/**
|
|
* VisuallyHidden hides its children visually, while keeping content visible
|
|
* to screen readers.
|
|
*/
|
|
export function VisuallyHidden(props: VisuallyHiddenProps): JSX.Element;
|
|
|
|
//# sourceMappingURL=types.d.ts.map
|