growl-hook-iamstevenhale
v0.1.0
Published
Hey there, Stevie here.
Downloads
1
Readme
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.