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
23
stories/forms/form.stories.ts
Normal file
23
stories/forms/form.stories.ts
Normal file
|
@ -0,0 +1,23 @@
|
|||
import { createHTMLElement } from "../HTMLElement";
|
||||
|
||||
export default {
|
||||
title: "Forms/Form",
|
||||
tags: ["autodocs"],
|
||||
args: {
|
||||
content: "Content",
|
||||
"accept-charset": "UTF-8",
|
||||
name: "name",
|
||||
rel: "noopener",
|
||||
action: "action",
|
||||
enctype: "application/x-www-form-urlencoded",
|
||||
method: "get",
|
||||
novalidate: false,
|
||||
target: "_self",
|
||||
},
|
||||
// Render the <html> element
|
||||
render: (args) => {
|
||||
return createHTMLElement("form", args);
|
||||
},
|
||||
};
|
||||
|
||||
export const Default = {};
|
Loading…
Add table
Add a link
Reference in a new issue