Function: LinkBlock()
LinkBlock(
props):Element
Defined in: packages/next/src/blocks/LinkBlock.tsx:33
The Link Block converts a anchor tag node into a next/link component if it's an internal link
Usage
import { BlocksRenderer } from "@headstartwp/core/react";
import { LinkBlock } from "@headstartwp/next";
<BlocksRenderer html={html}>
<LinkBlock />
</BlocksRenderer>
Parameters
props
Omit<IBlock<LinkBlockProps>, "component">
Link Block Props
Returns
Element
The next/link component