Skip to content

Commit

Permalink
more feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Apr 2, 2019
1 parent 8790cf5 commit a6cd990
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/src/pages/demos/snackbars/TransitionsSnackbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ function TransitionsSnackbar() {

return (
<div>
<Button onClick={handleClick(GrowTransition)}>Grow Transition</Button>
<Button onClick={handleClick(Fade)}>Fade Transition</Button>
<Button onClick={handleClick(SlideTransition)}>Slide Transition</Button>
<Button onClick={handleClick(GrowTransition)}>Grow Transition</Button>
<Snackbar
open={state.open}
onClose={handleClose}
Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/demos/snackbars/TransitionsSnackbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ function TransitionsSnackbar() {

return (
<div>
<Button onClick={handleClick(GrowTransition)}>Grow Transition</Button>
<Button onClick={handleClick(Fade)}>Fade Transition</Button>
<Button onClick={handleClick(SlideTransition)}>Slide Transition</Button>
<Button onClick={handleClick(GrowTransition)}>Grow Transition</Button>
<Snackbar
open={state.open}
onClose={handleClose}
Expand Down
6 changes: 3 additions & 3 deletions docs/src/pages/demos/snackbars/snackbars.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ Snackbars should appear above FABs (on mobile).

### Change Transition

Use a different transition.
[Grow](/utils/transitions/#grow) is the default transition but you can use a different one.

{{"demo": "pages/demos/snackbars/TransitionsSnackbar.js"}}

### Control Direction
### Control Slide direction

You can change the direction of the transition of the [Slide](/utils/transitions/#slide)
You can change the direction of the [Slide](/utils/transitions/#slide) transition.

{{"demo": "pages/demos/snackbars/DirectionSnackbar.js"}}

Expand Down

0 comments on commit a6cd990

Please sign in to comment.