mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-09-11 06:35:24 +03:00
25 lines
324 B
Plaintext
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}
|
|
</>
|
|
)
|
|
}
|
|
```
|