File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/documentation/src/components/Demos/Transition Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ transition.
8
8
The ` useCrossFadeTransition ` hook is really a hook version of the ` CrossFade `
9
9
component that allows a bit more control for when the transition should fire
10
10
since it uses the [ useCSSTransition hook] ( #use-css-transition ) behind the
11
- scenes. To create a transition, all that's required is to trigger the ` ENTER `
11
+ scenes. To create a transition, all that's required is to trigger the ` 'enter' `
12
12
transition when it should be fired. Unlike the ` CrossFade ` component, the
13
13
` useCrossFadeTransition ` hook ** does not automatically fire on mount** .
14
14
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ This is generally used for temporary material instead of the collapse transition
9
9
since it is slightly more performant and that it will not move other items
10
10
within the DOM while transitioning.
11
11
12
- This transition can be used with the ` ScaleTransition ` component or a custom
13
- usage with the ` useCSSTransition ` hook. The default transition will transition
14
- both the x and y values, but enabling the ` vertical ` prop will change it to only
15
- be the y value change.
12
+ This transition can be used with the ` ScaleTransition ` component or the
13
+ ` useScaleTransition ` hook. The default transition will transition both the x and
14
+ y values, but enabling the ` vertical ` prop will change it to only be the y value
15
+ change.
16
16
17
17
> Note: You can also set your own ` transform-origin ` to modify these transitions
18
18
> even more.
You can’t perform that action at this time.
0 commit comments