Skip to content

Commit 5c97bd7

Browse files
gfpachecooliviertassinari
authored andcommitted
[Slide] Remove Slide offset property from src and docs (#7808)
1 parent 9a6a3dd commit 5c97bd7

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

docs/src/pages/component-api/transitions/Slide.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
| enterTransitionDuration | number | duration.enteringScreen | Duration of the animation when the element is entering. |
1212
| in | boolean | | If `true`, show the component; triggers the enter or exit animation. |
1313
| leaveTransitionDuration | number | duration.leavingScreen | Duration of the animation when the element is exiting. |
14-
| offset | string | | Slide in by a fixed number of pixels or %. |
1514
| onEnter | TransitionCallback | | Callback fired before the component enters. |
1615
| onEntered | TransitionCallback | | Callback fired when the component has entered. |
1716
| onEntering | TransitionCallback | | Callback fired when the component is entering. |
@@ -20,4 +19,3 @@
2019
| onExiting | TransitionCallback | | Callback fired when the component is exiting. |
2120

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

src/transitions/Slide.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ export type Props = {
5959
* Duration of the animation when the element is exiting.
6060
*/
6161
leaveTransitionDuration?: number,
62-
/**
63-
* Slide in by a fixed number of pixels or %.
64-
*/
65-
offset?: string,
6662
/**
6763
* Callback fired before the component enters.
6864
*/
@@ -176,7 +172,6 @@ class Slide extends PureComponent<DefaultProps, AllProps, void> {
176172
render() {
177173
const {
178174
children,
179-
offset,
180175
onEnter,
181176
onEntering,
182177
onExit,

0 commit comments

Comments
 (0)