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.

10 lines (9 loc) • 262 B
import { Ref } from 'react'; export interface ItemTextProps { children: string; ref?: Ref<HTMLSpanElement>; } export declare const ItemText: { ({ children, ref: forwardedRef }: ItemTextProps): import("react").JSX.Element; displayName: string; };