Skip to content

Commit

Permalink
[Slide] Remove Slide offset property from src and docs (#7808)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfpacheco authored and oliviertassinari committed Aug 18, 2017
1 parent 9a6a3dd commit 5c97bd7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions docs/src/pages/component-api/transitions/Slide.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
| enterTransitionDuration | number | duration.enteringScreen | Duration of the animation when the element is entering. |
| in | boolean | | If `true`, show the component; triggers the enter or exit animation. |
| leaveTransitionDuration | number | duration.leavingScreen | Duration of the animation when the element is exiting. |
| offset | string | | Slide in by a fixed number of pixels or %. |
| onEnter | TransitionCallback | | Callback fired before the component enters. |
| onEntered | TransitionCallback | | Callback fired when the component has entered. |
| onEntering | TransitionCallback | | Callback fired when the component is entering. |
Expand All @@ -20,4 +19,3 @@
| onExiting | TransitionCallback | | Callback fired when the component is exiting. |

Any other properties supplied will be spread to the root element.

5 changes: 0 additions & 5 deletions src/transitions/Slide.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ export type Props = {
* Duration of the animation when the element is exiting.
*/
leaveTransitionDuration?: number,
/**
* Slide in by a fixed number of pixels or %.
*/
offset?: string,
/**
* Callback fired before the component enters.
*/
Expand Down Expand Up @@ -176,7 +172,6 @@ class Slide extends PureComponent<DefaultProps, AllProps, void> {
render() {
const {
children,
offset,
onEnter,
onEntering,
onExit,
Expand Down

0 comments on commit 5c97bd7

Please sign in to comment.