cornellh4i / ithaca-recovery

Ithaca Community Recovery Event and Meeting Setup Automation Tool
https://ithaca-recovery.vercel.app
8 stars 3 forks source link

Text Field + Radio Button #37

Closed tunile943 closed 1 week ago

tunile943 commented 1 month ago

Branches: atoms/text-field + atoms/radio-group

Task at Hand

  1. View the Design System for the Components and the Prototyping for create a meeting process.
  2. Create a folder /atoms under /components. Inside /atoms, you should create folders /TextField and /RadioGroup with a file index.tsx inside containing the code for that atom.
  3. Implement a text field and a radio button group adhering to the Design System above.

Picture of text field components: Image

The following are the props for textfield:

interface TextFieldProps { label: string; value?: string; onChange: (value: string) => void; underlineOnFocus?: boolean;

}

Picture of radio buttons group components: Image

The following are the props for radio buttons group:

interface RadioGroupProps { label: string;
options: string[];
selectedOption: string; onChange: (option: string) => void; name: string; disabledOptions?: string[];

}

  1. Confirm that your code and pull request follow the Pull Request Checklist. You might need to do two separate PRs for these two brances.

Acceptance Criteria

Notes