Skip to content

Commit

Permalink
docs(strong): Use Strong component in Markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
lzcabrera committed Oct 26, 2017
1 parent 9d59ff1 commit bfbcd2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/components/Markdown/Markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {styles as paraStyles} from 'react-styleguidist/lib/rsg-components/Para'

import Link from '../../../src/components/Link/Link'
import Text from '../../../src/components/Typography/Text/Text'
import Strong from '../../../src/components/Typography/Strong/Strong'
import MarkdownHeading from '../MarkdownHeading/MarkdownHeading'
import MarkdownParagraph from '../MarkdownParagraph/MarkdownParagraph'

Expand Down Expand Up @@ -88,6 +89,9 @@ const getBaseOverrides = memoize(classes => {
level: 'h4',
},
},
strong: {
component: Strong,
},
code: {
component: Code,
props: {
Expand Down Expand Up @@ -151,10 +155,6 @@ const styles = ({space, fontFamily, fontSize, color, borderRadius}) => ({
composes: '$base',
fontStyle: 'italic',
},
strong: {
composes: '$base',
fontWeight: 'bold',
},
code: {
fontFamily: fontFamily.monospace,
fontSize: 'inherit',
Expand Down

0 comments on commit bfbcd2c

Please sign in to comment.