Added the calculator date calculation to happen "onChange" instead of having to press that button!
move button to it's own component, add styles for button (sorry we couldn't pair on that @robbawebba, but I would appreciate some CR!)
make Scrim (overlay) component for off-clicking on the input
keep App.css around as a utility junk drawer
Add title to exclusion date adder
also i used yarn to install so the lockfile was changed to reflect the styled-components addition :)
A note
Making components that are shared and styled, you must pass className. If you don't pass className, then nothing gets applied, no error is logged or anything. It's really easy to spend 30 minutes scratching your head on it... 🤦♂️
Changes
Added the calculator date calculation to happen "onChange" instead of having to press that button!
move button to it's own component, add styles for button (sorry we couldn't pair on that @robbawebba, but I would appreciate some CR!)
make Scrim (overlay) component for off-clicking on the input
keep
App.css
around as a utility junk drawerAdd title to exclusion date adder
also i used yarn to install so the
lockfile
was changed to reflect the styled-components addition :)A note
Making components that are shared and styled, you must pass
className
. If you don't pass className, then nothing gets applied, no error is logged or anything. It's really easy to spend 30 minutes scratching your head on it... 🤦♂️