Overflowing List
import { OverflowingList } from '@hanzo/ui'
No examples yet.
Types
export type OverflowingListProps = Omit<ComponentProps<typeof XStack>, 'children'> & {
/** The whole ordered list, each with a stable key. */
children: ReactNode
/** Never more inline than this, however many would fit. */
maxInlineCount?: number
/** `hover`: the count shows on hover, focus or while open. `always` / `never` say themselves. */
showOverflowCount?: 'hover' | 'always' | 'never'
/** The count button's accessible name. */
overflowLabel?: string
open?: boolean
defaultOpen?: boolean
onOpenChange?: (open: boolean) => void
/** Passed to the popup. */
popupProps?: Partial<ComponentProps<typeof PopoverContent>>
}Exports
OverflowingListtype OverflowingListProps