mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
27 lines
533 B
TypeScript
27 lines
533 B
TypeScript
import { createHTMLElement } from "../HTMLElement";
|
|
|
|
export default {
|
|
title: "Forms/Textarea",
|
|
tags: ["autodocs"],
|
|
args: {
|
|
content: "Content",
|
|
cols: 20,
|
|
dirname: "dirname",
|
|
disabled: false,
|
|
form: "form",
|
|
maxlength: 100,
|
|
minlength: 0,
|
|
name: "name",
|
|
placeholder: "placeholder",
|
|
readonly: false,
|
|
required: false,
|
|
rows: 2,
|
|
wrap: "soft",
|
|
},
|
|
// Render the <html> element
|
|
render: (args) => {
|
|
return createHTMLElement("textarea", args);
|
|
},
|
|
};
|
|
|
|
export const Default = {};
|