1.0.3 • Published 4 years ago

@raisiqueira/lit-button v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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

Proptypedefault
disabledbooleanfalse
primarybooleanfalse

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