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

24 lines
811 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 { type SeparatorAria, type SeparatorProps, useSeparator };