Skip to content

Commit 87f4548

Browse files
docs: remove redundant TransitionMap section
1 parent 1d76884 commit 87f4548

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

README.md

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -475,27 +475,6 @@ Properties not specified in `animate` default to their identity values.
475475

476476
Applies values instantly with no animation. `onTransitionEnd` fires immediately with `{ finished: true }`.
477477

478-
### `TransitionMap`
479-
480-
```tsx
481-
{
482-
default?: SingleTransition; // fallback for unlisted properties
483-
opacity?: SingleTransition;
484-
translateX?: SingleTransition;
485-
translateY?: SingleTransition;
486-
scale?: SingleTransition; // shorthand for scaleX + scaleY
487-
scaleX?: SingleTransition;
488-
scaleY?: SingleTransition;
489-
rotate?: SingleTransition;
490-
rotateX?: SingleTransition;
491-
rotateY?: SingleTransition;
492-
borderRadius?: SingleTransition;
493-
backgroundColor?: SingleTransition;
494-
}
495-
```
496-
497-
`Transition` is `SingleTransition | TransitionMap`. The `transition` prop accepts either form.
498-
499478
## Hardware Layers (Android)
500479

501480
Setting `useHardwareLayer` rasterizes the view into a GPU texture for the duration of the animation. This means animated property changes (opacity, scale, rotation) are composited on the RenderThread without redrawing the view hierarchy — useful for complex views with many children.

0 commit comments

Comments
 (0)