Update src/components/MDXComponents.tsx

Co-authored-by: Corwin Smith <cssmittys@gmail.com>
pull/26459/head^2
Paul Wackerow 2 years ago committed by GitHub
parent ce98eb17fe
commit f36e271041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      src/components/MDXComponents.tsx

@ -80,7 +80,14 @@ const MDXComponents = {
</Stack> </Stack>
), ),
// code // code
code: ({ children, ...props }: any) => <Code {...props}>{children}</Code> code: ({ children, ...props }: any) => <Code {...props}>{children}</Code>,
// list
ul: ({children}: any) => {
return <UnorderedList mb={7} px={4}>{children}</UnorderedList>
},
li: ({ children }: any) => {
return <ListItem color='primary'>{children}</ListItem>
}
}; };
export default MDXComponents; export default MDXComponents;

Loading…
Cancel
Save