Skip to content

Commit

Permalink
docs modal
Browse files Browse the repository at this point in the history
  • Loading branch information
luisvinicius167 committed Dec 8, 2016
1 parent 8fd6257 commit 404afd9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ Preact-MUI has the same API with React MUI, then you can check tre React API and
### Extra Components
> Extra components that it's created on MUI Preact.js Library.
##### Modal
#### Modal

```javascript
import {h, Component, render} from 'preact';
import { Appbar, Button, Container, Modal } from 'preact-mui';
Expand All @@ -81,7 +82,7 @@ class Example extends React.Component {
<Appbar></Appbar>
<Container fluid={true}>
<Modal
element="buttonModal"
openedBy="buttonModal"
onClose={
() => {
console.log('')
Expand Down

0 comments on commit 404afd9

Please sign in to comment.