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

24 lines
801 B
Plaintext

import { DOMProps, AriaLabelingProps, Orientation, DOMAttributes } from '@react-types/shared';
interface SeparatorProps extends DOMProps, AriaLabelingProps {
/**
* The orientation of the separator.
* @default 'horizontal'
*/
orientation?: Orientation;
/** The HTML element type that will be used to render the separator. */
elementType?: string;
}
interface SeparatorAria {
/** Props for the separator element. */
separatorProps: DOMAttributes;
}
/**
* Provides the accessibility implementation for a separator.
* A separator is a visual divider between two groups of content,
* e.g. groups of menu items or sections of a page.
*/
declare function useSeparator(props: SeparatorProps): SeparatorAria;
export { SeparatorAria, SeparatorProps, useSeparator };