UNPKG

jsx-md

Version:

Generate markdown files with a React-like syntax.

16 lines (15 loc) 333 B
import { Component, PropsWithChildren } from ".."; /** @internal */ interface Props { level: 1 | 2 | 3 | 4 | 5 | 6; } /** * Marks text as a heading. * @example * ```js * render(<Heading level={1}>Test</Heading>) * === * '# Test\n\n' */ export declare const Heading: Component<PropsWithChildren<Props>>; export {};