mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
chore: add FormItemInputContext for v3 compatible usage
This commit is contained in:
parent
3040ed7566
commit
b9cab0fa2e
@ -19,4 +19,7 @@ const useFormItemStatus: UseFormItemStatus = () => {
|
||||
return { status };
|
||||
};
|
||||
|
||||
// Only used for compatible package. Not promise this will work on future version.
|
||||
(useFormItemStatus as any).Context = FormItemInputContext;
|
||||
|
||||
export default useFormItemStatus;
|
||||
|
Loading…
Reference in New Issue
Block a user