UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

11 lines (10 loc) 297 B
interface Option { label: string; value: string; } interface ReturnValue { getRef: () => HTMLSelectElement; clickOption: (value: string) => Event; } export declare const syntheticSelect: <T>(options: Option[] | T[], selectedText?: string, name?: string) => ReturnValue; export {};