mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-26 00:35:02 +03:00
Edit docs
This commit is contained in:
parent
a6d135bef6
commit
91df30b2cc
@ -3,7 +3,7 @@
|
||||
|
||||
## Custom MDX components
|
||||
|
||||
mdx-deck includes default components for MDX, but to provide custom components to the [MDXProvider][],add a `components` object to the `theme`.
|
||||
mdx-deck includes default components for MDX, but to provide custom components to the [MDXProvider][], add a `components` object to the `theme`.
|
||||
|
||||
```js
|
||||
// example theme
|
||||
@ -104,8 +104,8 @@ Webpack configuration files named `webpack.config.js` will automatically be merg
|
||||
module.exports = {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.svg$/,
|
||||
{
|
||||
test: /\.svg$/,
|
||||
use: [
|
||||
{ loader: 'babel-loader' },
|
||||
{ loader: 'react-svg-loader' }
|
||||
|
Loading…
Reference in New Issue
Block a user