mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 18:56:15 -04:00
20 lines
389 B
TypeScript
20 lines
389 B
TypeScript
import { createHTMLElement } from "../HTMLElement";
|
|
|
|
export default {
|
|
title: "TableContent/TH",
|
|
tags: ["autodocs"],
|
|
args: {
|
|
content: "Content",
|
|
abbr: "Abbreviation",
|
|
colspan: 2,
|
|
headers: "Header",
|
|
rowspan: 2,
|
|
scope: "col",
|
|
},
|
|
// Render the <html> element
|
|
render: (args) => {
|
|
return createHTMLElement("th", args);
|
|
},
|
|
};
|
|
|
|
export const Default = {};
|