1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-29 13:58:02 +03:00

Update Readme.md

Corrected the use of named export to default export for creating custom themes
This commit is contained in:
Kyle Shevlin 2018-08-13 22:40:24 -07:00 committed by GitHub
parent dc2c493342
commit 6ed83d4464
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ It's recommended that all custom themes extend the default theme as a base.
```js
// example theme.js
import { theme } from 'mdx-deck/themes'
import theme from 'mdx-deck/themes'
export default {
// extends the default theme