Closed nikitatrifan closed 2 months ago
This is to add DatePicker to stateless/components/inputs and use it instead of text inputs where it's asking users to type in a date.
DatePicker
stateless/components/inputs
We already use mui in the codebase so why not leverage their date picker. Just adjust the styling to match for dao dao look and feel.
This also introduces dayjs for more seamless data manipulation and tailwindcss nesting to allow for this scss style of writing css.
To do:
NewFormSurvey
Demo: https://github.com/DA0-DA0/dao-dao-ui/assets/11634956/48e39fdc-ab12-46e9-84c4-678656156224
Closing in favor of #1804
Thanks for getting this going @nikitatrifan 🙏
This is to add
DatePicker
tostateless/components/inputs
and use it instead of text inputs where it's asking users to type in a date.We already use mui in the codebase so why not leverage their date picker. Just adjust the styling to match for dao dao look and feel.
This also introduces dayjs for more seamless data manipulation and tailwindcss nesting to allow for this scss style of writing css.
To do:
NewFormSurvey
UXDemo: https://github.com/DA0-DA0/dao-dao-ui/assets/11634956/48e39fdc-ab12-46e9-84c4-678656156224