forked from crowetic/commerce
Fix text component
This commit is contained in:
parent
e4e94472a5
commit
51e2b780ae
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user