UNPKG

@coconut-software/ui

Version:

React components for faster and easier web development.

15 lines (14 loc) 571 B
import type { AriaAttributes, PropsWithChildren, ReactNode } from 'react'; import type { ListNestedLevel } from './ListContext'; export interface ListProps { 'aria-label'?: AriaAttributes['aria-label']; children?: ReactNode | ReactNode[]; dense?: boolean; nested?: ListNestedLevel; subheader?: ReactNode; } declare function List({ 'aria-label': label, children, dense, nested, subheader, }: PropsWithChildren<ListProps>): JSX.Element | null; declare namespace List { var Item: typeof import("./Item").default; } export default List;