4.0.4 • Published 2 years ago

@nodestrap/close-button v4.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

<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

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.

[Make a donation]