UNPKG

@blueprintjs-formik/datetime

Version:
13 lines (12 loc) 590 B
/// <reference types="react" /> import { FieldConfig } from 'formik'; import { TimezoneSelectProps as BPTimezoneSelectProps } from '@blueprintjs/datetime2'; export interface TimezoneSelectProps extends Omit<FieldConfig, 'children' | 'component' | 'as'>, Omit<BPTimezoneSelectProps, 'value' | 'name' | 'onChange'> { name: string; } /** * Timezone select Blueprint component binded with Formik. * @param {TimezoneSelectProps} props - Timezone select props * @returns {JSX.Element} */ export declare function TimezoneSelect({ ...props }: TimezoneSelectProps): JSX.Element;