mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 20:19:44 +08:00
8 lines
313 B
TypeScript
8 lines
313 B
TypeScript
|
import type { ValidateMessages } from 'rc-field-form/lib/interface';
|
||
|
import { createContext } from 'react';
|
||
|
|
||
|
// 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);
|