Update src/components/MDXComponents.tsx
Co-authored-by: Corwin Smith <cssmittys@gmail.com>
This commit is contained in:
parent
ce98eb17fe
commit
f36e271041
|
@ -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…
Reference in New Issue