/**
* For MDX files, steer away from using JSX components
* for headings in favor of standard markdown syntax.
*
* It’s generally considered
* best practice
* to include just one h1 heading per page.
* This heading signals the title or primary subject matter of the content to your audience.
* Because the title component generated at the top of each page already uses an h1 heading,
* we recommend using h2 tags for section headings within your content.
*
*```
* # This is a heading 1
* ## This is a heading 2
* ### This is a heading 3
* #### This is a heading 4
* ##### This is a heading 5
* ###### This is a heading 6
* ```
*/
export function H1({ children, className, headingClassName, ...rest }: {
[x: string]: any;
children: any;
className: any;
headingClassName: any;
}): React.FunctionComponentElement>>;
export namespace H1 {
namespace propTypes {
let children: PropTypes.Requireable;
let className: PropTypes.Requireable;
let headingClassName: PropTypes.Requireable;
}
}
import React from 'react';
import PropTypes from 'prop-types';