@raisiqueira/lit-button
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Lit Button

Published on webcomponents.org Bundlephobia

Simple custom Web Component made with Lit Element.

Studies only to see how Polymer Lit Element work!

Install

yarn add @raisiqueira/lit-button

Usage

<script type="module">
  import 'https://unpkg.com/@raisiqueira/lit-button@1.0.3/dist/index.js';
</script>
<jst-button>Hey button</jst-button>

See a real example on Storybook

Props

Prop type default
disabled boolean false
primary boolean false

Running the project (all commands available)

dev

Run the concurrently command to compile with TypeScript and run the es-dev-server

format

Runs prettier

lint

Runs eslint

Build the project (commands available)

build

Build the project and generate a dist folder.

build:watch

Build the project with TypeScript and watch all .ts files.

License

MIT @ Raí Siqueira

Package Sidebar

Install

npm i @raisiqueira/lit-button

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

186 kB

Total Files

10

Last publish

Collaborators

  • rsiqueira