<CloseButton />
A button for dismissing content.
Preview
<CloseButton tag='a' size='lg' onClick={() => alert('hello world')} />
Rendered to:
<a class="c1 szLg" style="--v59:url("/icons/close.svg");">...</a>
Features
- Includes all features in
<ButtonIcon />
. - Customizable via
@cssfn/css-config
.
Installation
Using npm:
npm i @nodestrap/close-button
Support Us
If you feel our lib is useful for your projects,
please make a donation to avoid our project from extinction.
We always maintain our projects as long as we're still alive.