mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 18:52:06 +00:00
Implement login, add useUser hook
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import { FunctionComponent } from 'react';
|
||||
// import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
// import { faTriangleExclamation } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
/**
|
||||
* @example
|
||||
|
||||
@@ -2,7 +2,7 @@ import { FunctionComponent } from 'react';
|
||||
import { UseFormRegisterReturn } from 'react-hook-form';
|
||||
|
||||
interface FormSelectProps {
|
||||
options: ReadonlyArray<{ value: string; text: string }>;
|
||||
options: readonly { value: string; text: string }[];
|
||||
id: string;
|
||||
formRegister: UseFormRegisterReturn<string>;
|
||||
error: boolean;
|
||||
|
||||
Reference in New Issue
Block a user