UNPKG

@yandex/ui

Version:

Yandex UI components

6 lines (5 loc) 406 B
import { ReactNode, FC } from 'react'; import { ISelectProps, Option, OptionGroup } from '../Select'; export declare const isGroup: (value: any) => value is OptionGroup; export declare const toGroupOptions: (option: Option) => ReactNode; export declare const withNativeControl: (Select: FC<ISelectProps>) => ({ addonAfter, name, onChange, options, value, onClick, ...props }: ISelectProps) => JSX.Element;