Skip to content

feat: ユーザー作成フォーム用の型とpresentational componentを追加 #383

Description

@zigzagdev

Parent

Part of #382

What to do

  • client/src/app/features/user/types.ts を作成し、UserCreateValues 型(name, email, password など)を定義する
  • client/src/app/features/user/components/UserCreateForm.tsx を作成する。value / onChange / onSubmit をpropsで受け取るcontrolled componentとする(HeritageSearchForm と同様のパターン)

Files to touch

  • client/src/app/features/user/types.ts
  • client/src/app/features/user/components/UserCreateForm.tsx

Acceptance criteria

  • フォームに名前・メール・パスワードの入力欄がある
  • onChange / onSubmit がpropsとして渡され、呼び出し元で制御できる
  • 既存の HeritageSearchForm と同様のcontrolled component patternに従っている

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions