Added margin to markdown list and added default props
This commit is contained in:
parent
700434a50c
commit
fca1c9fd1f
@ -45,7 +45,7 @@ function Image(props) {
|
||||
}
|
||||
|
||||
function ListItem(props) {
|
||||
return <Text as="li" variant="body2" {...props} />;
|
||||
return <Text as="li" variant="body2" my={1} {...props} />;
|
||||
}
|
||||
|
||||
function Code({ children, value }) {
|
||||
@ -157,4 +157,8 @@ function Markdown({ source, assets }) {
|
||||
);
|
||||
}
|
||||
|
||||
Markdown.defaultProps = {
|
||||
assets: {},
|
||||
};
|
||||
|
||||
export default Markdown;
|
||||
|
Loading…
Reference in New Issue
Block a user