@payfit/unity-components
Version:
15 lines (14 loc) • 682 B
TypeScript
import { JSX, Ref } from 'react';
import { ListBoxSectionProps } from 'react-aria-components/ListBox';
export declare const listViewSection: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "", {} | {}, undefined, import('tailwind-variants').TVReturnTypeLike<unknown, undefined>>;
export type ListViewSectionProps<TItem extends object> = ListBoxSectionProps<TItem> & {
title: string;
};
type ListViewSectionComponentType = {
<TItem extends object>(props: ListViewSectionProps<TItem> & {
ref?: Ref<HTMLElement>;
}): JSX.Element;
displayName: string;
};
declare const ListViewSection: ListViewSectionComponentType;
export { ListViewSection };