mirror of
https://github.com/picocss/pico.git
synced 2025-04-27 11:36:14 -04:00
24 lines
593 B
TypeScript
24 lines
593 B
TypeScript
import { createHTMLElement } from "../HTMLElement";
|
|
|
|
export default {
|
|
title: "ImageAndMultimedia/Area",
|
|
tags: ["autodocs"],
|
|
args: {
|
|
content: "Content",
|
|
shape: "poly",
|
|
coords: "129,0,260,95,129,138",
|
|
href: "https://developer.mozilla.org/docs/Web/HTTP",
|
|
alt: "Content",
|
|
download: "download",
|
|
ping: "https://developer.mozilla.org/docs/Web/HTTP",
|
|
referrerpolicy: "no-referrer",
|
|
rel: "noopener",
|
|
target: "_blank",
|
|
},
|
|
// Render the <html> element
|
|
render: (args) => {
|
|
return createHTMLElement("area", args);
|
|
},
|
|
};
|
|
|
|
export const Default = {};
|