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