Skip to content

Commit c2b1a40

Browse files
committed
Add UserRegistration Jsdoc
1 parent d84b85b commit c2b1a40

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/User/UserRegistration.component.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ interface IRegistrationData {
1414
lastName: string;
1515
}
1616

17+
/**
18+
* User registration component that handles WooCommerce customer creation
19+
* @function UserRegistration
20+
* @returns {JSX.Element} - Rendered component with registration form
21+
*/
1722
const UserRegistration = () => {
1823
const methods = useForm<IRegistrationData>();
1924
const [registerUser, { loading, error }] = useMutation(CREATE_USER);

0 commit comments

Comments
 (0)