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.

9 lines (8 loc) • 353 B
import React, { type PropsWithChildren } from 'react'; export interface DropdownContextState { labelId: string; } type DropdownContextProps = PropsWithChildren; export declare const DropdownGroupProvider: ({ children }: DropdownContextProps) => React.JSX.Element; export declare const useDropdownGroupContext: () => DropdownContextState; export {};