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

22 lines
772 B
Plaintext

import * as _heroui_system_rsc from '@heroui/system-rsc';
import { HTMLHeroUIProps, PropGetter } from '@heroui/system-rsc';
import { DividerVariantProps } from '@heroui/theme';
import { Ref } from 'react';
import { SeparatorProps } from './use-separator.js';
import '@react-types/shared';
interface Props extends HTMLHeroUIProps<"hr"> {
/**
* Ref to the DOM node.
*/
ref?: Ref<HTMLElement> | undefined;
}
type UseDividerProps = Props & DividerVariantProps & Omit<SeparatorProps, "elementType">;
declare function useDivider(props: UseDividerProps): {
Component: _heroui_system_rsc.As<any>;
getDividerProps: PropGetter;
};
type UseDividerReturn = ReturnType<typeof useDivider>;
export { type UseDividerProps, type UseDividerReturn, useDivider };