4
0
forked from crowetic/commerce

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
commit f0c846e5af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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',