UNPKG

@flanksource/clicky-ui

Version:

Flanksource Clicky UI — React component library built on shadcn/ui with light/dark and density theming.

22 lines 711 B
import { ReactNode } from 'react'; export type IconMenuOption<T extends string> = { value: T; icon: string; label: string; description?: string; }; export type IconMenuPickerProps<T extends string> = { value: T; onChange: (next: T) => void; options: IconMenuOption<T>[]; ariaLabel: string; triggerTitle?: string | undefined; footer?: ReactNode | undefined; className?: string | undefined; triggerClassName?: string | undefined; menuClassName?: string | undefined; }; export declare const IconMenuPicker: <T extends string>(props: IconMenuPickerProps<T> & { ref?: React.Ref<HTMLDivElement>; }) => JSX.Element; //# sourceMappingURL=icon-menu-picker.d.ts.map