JSPM

@nodestrap/close-button

4.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q55714F
  • License ISC

A button for dismissing content.

Package Exports

  • @nodestrap/close-button
  • @nodestrap/close-button/dist/CloseButton.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nodestrap/close-button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

<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]