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

22 lines
852 B
Plaintext

import * as _heroui_system_rsc from '@heroui/system-rsc';
import { PropGetter, HTMLHeroUIProps } 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<Record<string, unknown>, _heroui_system_rsc.DOMAttributes<_heroui_system_rsc.DOMElement>>;
};
type UseDividerReturn = ReturnType<typeof useDivider>;
export { UseDividerProps, UseDividerReturn, useDivider };