Skip to content

Commit

Permalink
docs: add playground to material-ui example
Browse files Browse the repository at this point in the history
  • Loading branch information
rakannimer committed Nov 25, 2019
1 parent b9b5516 commit feb98cb
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions examples/material-ui/home.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ route: /
Hello, I'm a mdx file!

import Button from "@material-ui/core/Button";
import {Playground} from 'docz'

### Material UI Button

<Button variant="contained" color="primary">
Hello World
</Button>
<Playground>
<Button variant="contained" color="primary">
Hello World
</Button>
</Playground>

0 comments on commit feb98cb

Please sign in to comment.