jsx-md
Version:
Generate markdown files with a React-like syntax.
18 lines (17 loc) • 366 B
TypeScript
import { Component, PropsWithChildren } from "..";
/** @internal */
interface Props {
to: string;
title?: string;
}
/**
* @example
* ```js
* render(<Link to="https://example.com" title="Title">
* Test
* </Link>)
* ===
* '[Test](https://example.com "Title")'
*/
export declare const Link: Component<PropsWithChildren<Props>>;
export {};