mirror of
https://github.com/picocss/pico.git
synced 2025-04-26 03:06:14 -04:00
21 lines
389 B
TypeScript
21 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 = {};
|