Cloudflare Heading Hash Component
Installation with yarn is recommended
$ yarn add @cloudflare/component-heading-hash
import React from 'react';
import HeadingHash from '@cloudflare/component-heading-hash';
const HeadingComponent = ({ id, children }) => (
<div>
<HeadingHash id={id} size={1}>
{children}
</HeadingHash>
</div>
);
export default HeadingComponent;