UNPKG

@rc-component/picker

Version:
17 lines (16 loc) 625 B
import * as React from 'react'; import type { GenerateConfig } from '../generate'; import type { Components, Locale } from '../interface'; import type { FilledClassNames, FilledStyles } from '../hooks/useSemantic'; export interface PickerContextProps<DateType = any> { prefixCls: string; locale: Locale; generateConfig: GenerateConfig<DateType>; /** Customize button component */ button?: Components['button']; input?: Components['input']; classNames: FilledClassNames; styles: FilledStyles; } declare const PickerContext: React.Context<PickerContextProps<any>>; export default PickerContext;