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