4
0
forked from crowetic/commerce

Fix text component

This commit is contained in:
Renan Felipe 2020-12-20 16:57:31 -03:00
parent e4e94472a5
commit 51e2b780ae

View File

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