forked from crowetic/commerce
Merge pull request #126 from renanfeluck/fix-text-component
Fix text component
This commit is contained in:
commit
f0c846e5af
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user