fix naming collision
This commit is contained in:
parent
cf0dab7ce0
commit
0ab1fdcb9d
|
@ -36,7 +36,7 @@ SyntaxHighlighter.registerLanguage('swift', swift);
|
||||||
|
|
||||||
const { header1, header2, header3, header4 } = textStyles;
|
const { header1, header2, header3, header4 } = textStyles;
|
||||||
|
|
||||||
const Table = ({ children }: any) => (
|
const MdTable = ({ children }: any) => (
|
||||||
<Flex maxW='100vw' overflowX='scroll'>
|
<Flex maxW='100vw' overflowX='scroll'>
|
||||||
<Table
|
<Table
|
||||||
variant='striped'
|
variant='striped'
|
||||||
|
@ -160,7 +160,7 @@ const MDXComponents = {
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
// tables
|
// tables
|
||||||
table: Table,
|
table: MdTable,
|
||||||
// pre
|
// pre
|
||||||
pre: ({ children }: any) => {
|
pre: ({ children }: any) => {
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue