-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
type을 관리하는 type.d.ts 파일 생성 page 디렉토리에는 page, Vpage, type만 있도록 구현
- Loading branch information
1 parent
4347bf1
commit 73a65dd
Showing
8 changed files
with
49 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import { ShelterSignupType } from 'recoil/shelterState'; | ||
|
||
export interface EmailConfirmProps { | ||
isValid: boolean; | ||
checked: boolean; | ||
} | ||
|
||
export interface LoadingProps { | ||
submitIsLoading: boolean; | ||
duplicateCheckIsLoading: boolean; | ||
} | ||
|
||
export interface EmailValidationProps { | ||
validText: string; | ||
inValidText: string; | ||
emailConfirmObj: EmailConfirmProps; | ||
} | ||
|
||
export interface AddressInputProps { | ||
handleChange: (e: React.ChangeEvent<HTMLInputElement>) => void; | ||
shelterInfo: ShelterSignupType; | ||
} | ||
|
||
export interface VSignupInputProps { | ||
handleChange: (event: React.ChangeEvent<HTMLInputElement>) => void; | ||
handleSubmit: (e: React.FormEvent<HTMLFormElement>) => void; | ||
duplicateCheck: () => void; | ||
emailValidText: string; | ||
emailInValidText: string; | ||
passwordConfirm: boolean; | ||
errors: Partial<ShelterSignupType>; | ||
isLoading: LoadingProps; | ||
} | ||
|
||
export interface ValidationProps { | ||
text?: string; | ||
className: string; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/pages/signUp/AddressInputGroup.tsx → ...s/signUp/components/AddressInputGroup.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 5 additions & 7 deletions
12
src/pages/signUp/VAddressInputGroup.tsx → .../signUp/components/VAddressInputGroup.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 2 additions & 20 deletions
22
src/pages/signUp/VSignupInputForm.tsx → ...es/signUp/components/VSignupInputForm.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters