feat(ds.dev): example is not a shared component
This commit is contained in:
parent
cbac621186
commit
e705da9e7f
18 changed files with 784 additions and 108 deletions
|
@ -3,14 +3,20 @@ import Highlight from './highlight.js'
|
|||
import YouTube from './youtube.js'
|
||||
import DesignIterator from './design-iterator.js'
|
||||
import Figure from './figure.js'
|
||||
import Example from './example.js'
|
||||
import ReadMore from './read-more.js'
|
||||
import Example from './example/index.js'
|
||||
import examples from '@freesewing/examples'
|
||||
import rendertest from '@freesewing/rendertest'
|
||||
import tutorial from '@freesewing/tutorial'
|
||||
|
||||
|
||||
const mdxCustomComponents = {
|
||||
// Custom components
|
||||
DesignIterator,
|
||||
Example,
|
||||
Example: props => <Example
|
||||
{...props}
|
||||
patterns={{examples, rendertest, tutorial}}
|
||||
>{props.children}</Example>,
|
||||
Fixme: props => <Popout {...props} fixme />,
|
||||
Link: props => <Popout {...props} link />,
|
||||
Note: props => <Popout {...props} note />,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue