mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -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/select.stories.ts
Normal file
22
stories/forms/select.stories.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
import { createHTMLElement } from "../HTMLElement";
|
||||
|
||||
export default {
|
||||
title: "Forms/Select",
|
||||
tags: ["autodocs"],
|
||||
args: {
|
||||
content: "Content",
|
||||
autocomplete: "on",
|
||||
disabled: false,
|
||||
form: "form",
|
||||
multiple: false,
|
||||
name: "name",
|
||||
required: false,
|
||||
size: 0,
|
||||
},
|
||||
// Render the <html> element
|
||||
render: (args) => {
|
||||
return createHTMLElement("select", args);
|
||||
},
|
||||
};
|
||||
|
||||
export const Default = {};
|
Loading…
Add table
Add a link
Reference in a new issue