mirror of
https://github.com/picocss/pico.git
synced 2025-04-27 03:36:13 -04:00
25 lines
593 B
TypeScript
25 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 = {};
|