mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
17 lines
322 B
TypeScript
17 lines
322 B
TypeScript
![]() |
import { createHTMLElement } from "../HTMLElement";
|
||
|
|
||
|
export default {
|
||
|
title: "InteractiveElements/Dialog",
|
||
|
tags: ["autodocs"],
|
||
|
args: {
|
||
|
content: "Content",
|
||
|
open: false,
|
||
|
},
|
||
|
// Render the <html> element
|
||
|
render: (args) => {
|
||
|
return createHTMLElement("dialog", args);
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export const Default = {};
|