mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04:00
19 lines
373 B
TypeScript
19 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 = {};
|