UNPKG

@spark-ui/dropdown

Version:

Displays a list of options for the user to pick from—triggered by a button. Differs from Select in that it offers multiple select and its list is not native.

13 lines (12 loc) • 403 B
import { type HTMLAttributes, type ReactNode, Ref } from 'react'; export interface ItemProps extends HTMLAttributes<HTMLLIElement> { disabled?: boolean; value: string; children: ReactNode; className?: string; ref?: Ref<HTMLLIElement>; } export declare const Item: { ({ children, ref: forwardedRef, ...props }: ItemProps): import("react").JSX.Element; displayName: string; };