1
0
Fork 0

wip(fs.dev): More work on new dev site

This commit is contained in:
Joost De Cock 2021-12-24 18:17:02 +01:00
parent d4baf722f3
commit 096c2f5f6a
10 changed files with 55 additions and 21 deletions

View file

@ -10,7 +10,7 @@ import rendertest from '@freesewing/rendertest'
import tutorial from '@freesewing/tutorial'
const mdxCustomComponents = {
const mdxCustomComponents = (app) => ({
// Custom components
DesignIterator,
Example: props => <Example
@ -20,7 +20,7 @@ const mdxCustomComponents = {
Fixme: props => <Popout {...props} fixme />,
Link: props => <Popout {...props} link />,
Note: props => <Popout {...props} note />,
ReadMore,
ReadMore: props => <ReadMore {...props} app={app} />,
Related: props => <Popout {...props} related />,
Tip: props => <Popout {...props} tip />,
Warning: props => <Popout {...props} warning />,
@ -39,7 +39,7 @@ const mdxCustomComponents = {
</Popout>
),
}
})
export default mdxCustomComponents