File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
src/animations/TweenTransform Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ Transitions the wrapped element from one transform property to another. Any vali
6666
6767Key | Description | Example | Type | Default Value
6868------------ | -------------| -------------| -------------| -------------
69- enter | the ` entering ` and ` entered ` transform value | ` 'translateX(100px)' ` | * string* | ` 'none' `
70- exit | the ` exiting ` and ` exited ` transform value | ` 'translateX(100px)' ` | * string* | ` 'none' `
69+ enter | the ` etnered ` and ` exiting ` transform value | ` 'translateX(100px)' ` | * string* | ` 'none' `
70+ exit | the ` entering ` and ` exited ` transform value | ` 'translateX(100px)' ` | * string* | ` 'none' `
7171
7272#### Examples
7373
Original file line number Diff line number Diff line change @@ -8,18 +8,11 @@ import {
88 getTimeoutValue ,
99} from 'utilities' ;
1010
11- const TweenTransform = ( {
12- children,
13- enter,
14- exit,
15- entering,
16- exiting,
17- ...props
18- } ) => {
11+ const TweenTransform = ( { children, enter, exit, ...props } ) => {
1912 const pos = {
20- entering : entering || enter ,
13+ entering : exit ,
2114 entered : enter ,
22- exiting : exiting || exit ,
15+ exiting : enter ,
2316 exited : exit ,
2417 } ;
2518
You can’t perform that action at this time.
0 commit comments