Added margin to markdown list and added default props

This commit is contained in:
Mitchell McCaffrey 2020-11-27 11:19:52 +11:00
parent 700434a50c
commit fca1c9fd1f

View File

@ -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;