Skip to content

Commit

Permalink
[docs] Document breakpoint argument for withMobileDialog (#12521)
Browse files Browse the repository at this point in the history
Add a sentence describing how one might choose their own breakpoint for their dialog to become full screen.
  • Loading branch information
nxtman123 authored and oliviertassinari committed Aug 14, 2018
1 parent 7542bb8 commit 3c389bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/demos/dialogs/dialogs.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ For example, if your site prompts for potential subscribers to fill in their ema

## Responsive full-screen

You may make a `Dialog` responsively full screen the dialog using `withMobileDialog`. By default, `withMobileDialog()(Dialog)` responsively full screens *at or below* the `sm` [screen size](/layout/basics).
You may make a `Dialog` responsively full screen the dialog using `withMobileDialog`. By default, `withMobileDialog()(Dialog)` responsively full screens *at or below* the `sm` [screen size](/layout/basics). You can choose your own breakpoint for example `xs` by passing the `breakpoint` argument: `withMobileDialog({breakpoint: 'xs'})(Dialog)`.

{{"demo": "pages/demos/dialogs/ResponsiveDialog.js"}}

Expand Down

0 comments on commit 3c389bb

Please sign in to comment.