chore: add FormItemInputContext for v3 compatible usage

This commit is contained in:
二货机器人 2022-11-22 11:40:17 +08:00
parent 3040ed7566
commit b9cab0fa2e

View File

@ -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;