Files
NapCatQQ/.pnpm-store/v3/files/e1/2ab9bc2cf2bdfb8fd78d464ff3dcf95f62ffa946999db91dbc07021b3cbb1bbec8b548bffec9e544a5d06561682b010645860bbea4d949eecdc3cdfb799906
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

26 lines
890 B
Plaintext

import { AriaLinkProps } from "@react-types/link";
import { DOMAttributes, FocusableElement, RefObject } from "@react-types/shared";
export interface AriaLinkOptions extends AriaLinkProps {
/** Whether the link is disabled. */
isDisabled?: boolean;
/**
* The HTML element used to render the link, e.g. 'a', or 'span'.
* @default 'a'
*/
elementType?: string;
}
export interface LinkAria {
/** Props for the link element. */
linkProps: DOMAttributes;
/** Whether the link is currently pressed. */
isPressed: boolean;
}
/**
* Provides the behavior and accessibility implementation for a link component.
* A link allows a user to navigate to another page or resource within a web page
* or application.
*/
export function useLink(props: AriaLinkOptions, ref: RefObject<FocusableElement | null>): LinkAria;
//# sourceMappingURL=types.d.ts.map