chore: add FormItemInputContext for v3 compatible usage

pull/38850/head
二货机器人 2 years ago
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…
Cancel
Save