1
1
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:
Brent Jackson 2019-03-10 13:13:29 -04:00
parent a6d135bef6
commit 91df30b2cc

View File

@ -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' }