react-code-dataset / ant-design /components /form /validateMessagesContext.tsx
Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame contribute delete
313 Bytes
import { createContext } from 'react';
import type { ValidateMessages } from 'rc-field-form/lib/interface';
// ZombieJ: We export single file here since
// ConfigProvider use this which will make loop deps
// to import whole `rc-field-form`
export default createContext<ValidateMessages | undefined>(undefined);