0.1.0 • Published 1 year ago

growl-hook-iamstevenhale v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Hey there, Stevie here.

I made some changes to the Growl Hook to accommodate a default 3 second timeout for dismissal or the user/developer can allocate a timeout themselves in the input field. I added in custom growl message. I removed a bit of the create-react-app boiler plate. I added typescript to the project. I added styled-components. I consolidated the Growl.tsx with the styling and svg close icon. I added in some Typescript interfaces. I changed the 'Click here to activate the growl' a tag to a button.

I added in way too many comments to Growl.tsx but thought it better to have more then not enough.