sharmaadityaHQ / bossy-helper

Web based application to guide students in open source development
MIT License
7 stars 8 forks source link

Create a React custom hook to make a stateful dropdown #6

Open sharmaadityaHQ opened 4 years ago

sharmaadityaHQ commented 4 years ago

The custom hook function should take in 3 parameters:-

  1. label of type string
  2. defaultState of type string
  3. options of type string array

It should return an array with current state, the Dropdown component and the function to update state.

You can read more about custom hooks in react here - https://reactjs.org/docs/hooks-custom.html

For more help you can DM me your queries in the Uplift Project by GirlScript Foundation slack workspace.

RheaAdh commented 4 years ago

can i take up this issue?

kmrakash commented 4 years ago

Hey @RheaAdh are you still working on this issue ??

RheaAdh commented 4 years ago

yes

kmrakash commented 4 years ago

ohkay great