a challenge for the brave
build a <DismissableBlurb />
component similar to the one on GitHub
see: example
- should render
children
components inside it- required
- should have an "x" in the top-right corner
- clicking the "x" should remove the element from the DOM
- should combine JSDoc + TS to provide good documentation
<DismissableBlurb>
<h3>Welcome to the new feed!</h3>
<p>We're updating this to make it more interactive and useful.</p>
<a href="https://example.com/feedback">Send feedback</a>
</DismissableBlurb>