Skip to content

Commit

Permalink
Update dialog.mdx (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandra Sikora authored and Chance Strickland committed Dec 19, 2019
1 parent 964f4df commit dbce905
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion website/src/pages/dialog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,17 @@ yarn add @reach/dialog
And then import the components you need:

```js
import { Dialog, DialogOverlay, DialogContent } from "@reach/dialog";
import "@reach/dialog/styles.css"
```

And import the styles:
```js
import "@reach/dialog/styles.css"
```

Or include them some other way:
```js
<link rel="stylesheet" type="text/css" href="node_modules/@reach/dialog/styles.css" />
```

# Dialog
Expand Down

0 comments on commit dbce905

Please sign in to comment.