mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
23 lines
524 B
TypeScript
23 lines
524 B
TypeScript
import { createHTMLElement } from "../HTMLElement";
|
|
|
|
export default {
|
|
title: "InlineTextSemantics/A",
|
|
tags: ["autodocs"],
|
|
args: {
|
|
content: "Content",
|
|
href: "https://example.com",
|
|
target: "_blank",
|
|
download: "file.txt",
|
|
rel: "noopener noreferrer",
|
|
hreflang: "en",
|
|
ping: "https://example.com/ping",
|
|
referrerpolicy: "no-referrer",
|
|
type: "text/html",
|
|
},
|
|
// Render the <html> element
|
|
render: (args) => {
|
|
return createHTMLElement("a", args);
|
|
},
|
|
};
|
|
|
|
export const Default = {};
|