@trail-ui/react
Version:
20 lines (17 loc) • 637 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import { SlotsToClasses, MenuSectionSlots } from '@trail-ui/theme';
import { ReactNode } from 'react';
import { SectionProps } from 'react-aria-components';
interface ListBoxSectionProps<T> extends SectionProps<T> {
/**
* The listbox section title.
*/
title?: ReactNode | string;
/**
* The listbox section classNames.
*/
classNames?: SlotsToClasses<MenuSectionSlots>;
children: ReactNode;
}
declare function ListBoxSection(props: ListBoxSectionProps<object>): react_jsx_runtime.JSX.Element;
export { ListBoxSection, ListBoxSectionProps };