@webcomponents-dev/decorators-lit

0.3.0 • Public • Published

CSF Decorators for lit-html

See demos

Install

npm i @webcomponents-dev/decorators-lit

Usage

Import just what you need

import {
  centered,
  fullBody,
  loremIpsumSandwich,
  background
} from "@webcomponents-dev/decorators-lit";

Use for one story

export const center = () => html`
  centered
`;
center.story = {
  decorators: [centered]
};

Use for all Stories

export default {
  decorators: [centered]
};

Readme

Keywords

none

Package Sidebar

Install

npm i @webcomponents-dev/decorators-lit

Weekly Downloads

0

Version

0.3.0

License

ISC

Unpacked Size

4.95 kB

Total Files

9

Last publish

Collaborators

  • _wcd_
  • georges-gomes
  • gluck
  • gqio