1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-26 00:35:02 +03:00
mdx-deck/examples/themes/deck.mdx
2019-04-21 20:59:42 -04:00

24 lines
323 B
Plaintext

import { ThemeName } from './theme'
export { theme } from './theme'
# Hello <ThemeName />!
---
This deck has a custom Provider component
that lets you switch between all the different themes.
---
```jsx
import React from 'react'
export default ({ children }) => {
return (
<>
{children}
</>
)
}
```