mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 18:56:15 -04:00
20 lines
373 B
TypeScript
20 lines
373 B
TypeScript
![]() |
import { createHTMLElement } from "../HTMLElement";
|
||
|
|
||
|
export default {
|
||
|
title: "Forms/Option",
|
||
|
tags: ["autodocs"],
|
||
|
args: {
|
||
|
content: "Content",
|
||
|
disabled: false,
|
||
|
label: "Label",
|
||
|
selected: false,
|
||
|
value: "Value",
|
||
|
},
|
||
|
// Render the <html> element
|
||
|
render: (args) => {
|
||
|
return createHTMLElement("option", args);
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const Default = {};
|