UNPKG

@confi/conflux-react-ui-test-package

Version:

Modern and minimalist React UI library.

14 lines (13 loc) 468 B
import React, { MutableRefObject } from 'react'; import { NormalSizes } from '../utils/prop-types'; export interface SelectConfig { value?: string | string[]; updateValue?: Function; visible?: boolean; updateVisible?: Function; size?: NormalSizes; disableAll?: boolean; ref?: MutableRefObject<HTMLElement | null>; } export declare const SelectContext: React.Context<SelectConfig>; export declare const useSelectContext: () => SelectConfig;