Init NextJS, Implement Login and more
This commit is contained in:
11
src/components/FormState/definitions.ts
Normal file
11
src/components/FormState/definitions.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import {ResponseToken} from "@/app/actions/interfaces";
|
||||
|
||||
export type FormState =
|
||||
| {
|
||||
errors?: {
|
||||
name?: string[]
|
||||
password?: string[]
|
||||
}
|
||||
message?: ResponseToken
|
||||
}
|
||||
| undefined
|
||||
Reference in New Issue
Block a user