mirror of
https://github.com/picocss/pico.git
synced 2025-04-28 12:06:15 -04:00
feat: add StorybookJS
This commit is contained in:
parent
1039a4788d
commit
cbc1260553
116 changed files with 3560 additions and 2 deletions
22
stories/forms/meter.stories.ts
Normal file
22
stories/forms/meter.stories.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { createHTMLElement } from "../HTMLElement";
|
||||
|
||||
export default {
|
||||
title: "Forms/Meter",
|
||||
tags: ["autodocs"],
|
||||
args: {
|
||||
content: "Content",
|
||||
value: 0.5,
|
||||
min: 0,
|
||||
max: 1,
|
||||
low: 0.2,
|
||||
high: 0.8,
|
||||
optimum: 0.5,
|
||||
form: "form",
|
||||
},
|
||||
// Render the <html> element
|
||||
render: (args) => {
|
||||
return createHTMLElement("meter", args);
|
||||
},
|
||||
};
|
||||
|
||||
export const Default = {};
|
Loading…
Add table
Add a link
Reference in a new issue