Skip to content

Commit 3fa0a73

Browse files
committed
Resolves: MTV-3738 | Provider create form - OVA
Signed-off-by: Jeff Puzzo <jpuzzo@redhat.com>
1 parent f2cd0c9 commit 3fa0a73

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import type { UseFormProps } from 'react-hook-form';
2+
import { useForm } from 'react-hook-form';
3+
4+
import type { CreateProviderFormData } from '../types';
5+
6+
/**
7+
* Typed wrapper around useForm for Create Provider form
8+
*/
9+
export const useCreateProviderForm = (props: UseFormProps<CreateProviderFormData>) =>
10+
useForm<CreateProviderFormData>(props);

0 commit comments

Comments
 (0)