1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-09-11 06:35:24 +03:00
mdx-deck/examples/themes/deck.mdx
2020-02-02 12:45:23 -05:00

25 lines
324 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}
</>
)
}
```