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

42 lines
1.2 KiB
Plaintext

import { SlotsToClasses, MenuSectionSlots } from '@heroui/theme';
import { SectionProps } from '@heroui/aria-utils';
import { DividerProps } from '@heroui/divider';
import { MenuItemProps } from '../menu-item.js';
import 'react/jsx-runtime';
import '../use-menu-item.js';
import './menu-item-base.js';
import '@react-aria/menu';
import '@react-types/shared';
import 'react';
import 'tailwind-variants';
import '@heroui/system';
import '@react-stately/tree';
interface MenuSectionBaseProps<T extends object = {}> extends SectionProps<"ul", T> {
/**
* The menu section classNames.
*/
classNames?: SlotsToClasses<MenuSectionSlots>;
/**
* The menu items classNames.
*/
itemClasses?: MenuItemProps["classNames"];
/**
* Shows a divider between sections
* @default false
*/
showDivider?: boolean;
/**
* Whether to hide the check icon when the items are selected.
* @default false
*/
hideSelectedIcon?: boolean;
/**
* The divider props
*/
dividerProps?: DividerProps;
}
declare const MenuSectionBase: <T extends object>(props: MenuSectionBaseProps<T>) => JSX.Element;
export { MenuSectionBaseProps, MenuSectionBase as default };