Merge pull request #126 from renanfeluck/fix-text-component

Fix text component
This commit is contained in:
B
2020-12-21 14:11:37 -03:00
committed by GitHub

View File

@@ -26,7 +26,7 @@ const Text: FunctionComponent<Props> = ({
const componentsMap: {
[P in Variant]: React.ComponentType<any> | string
} = {
body: 'p',
body: 'div',
heading: 'h1',
pageHeading: 'h1',
sectionHeading: 'h2',