hotfix/markdoc #6
@ -1,10 +1,12 @@
|
|||||||
import type { RenderableTreeNode } from "@markdoc/markdoc";
|
import type { RenderableTreeNode } from "@markdoc/markdoc";
|
||||||
import type { ReactNode } from "react";
|
import type { ReactNode } from "react";
|
||||||
|
|
||||||
import { Tag as MarkdocTag } from "@markdoc/markdoc";
|
import Markdoc from "@markdoc/markdoc";
|
||||||
|
|
||||||
type TagAttributesValue = string | number | boolean | null | undefined | object | unknown;
|
type TagAttributesValue = string | number | boolean | null | undefined | object | unknown;
|
||||||
|
|
||||||
|
const { Tag: MarkdocTag } = Markdoc;
|
||||||
|
|
||||||
export class Tag extends MarkdocTag {
|
export class Tag extends MarkdocTag {
|
||||||
constructor(
|
constructor(
|
||||||
name: string | ReactNode,
|
name: string | ReactNode,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user