Skip to content

Commit 68cfa59

Browse files
committed
Address wp feedback
1 parent 51082b5 commit 68cfa59

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/reference/react/ViewTransition.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ These callbacks allow you to adjust the animation imperatively using the [animat
9999

100100
Each callback receives as arguments:
101101
- `element`: The DOM element that was animated.
102-
- `types`: The [Transition Types)(/reference/react/addTransitionType) included in the animation.
102+
- `types`: The [Transition Types](/reference/react/addTransitionType) included in the animation.
103103

104104
### View Transition Class {/*view-transition-classes*/}
105105

@@ -129,13 +129,13 @@ For example, to customize an "enter" animation, provide a class name to the `ent
129129
When the ViewTransition activates an <CodeStep step={1}>"enter"</CodeStep> animation, React will add the class name <CodeStep step={2}>slide-in</CodeStep>. Then you can refer to this class using [view transition pseudo selectors](https://developer.mozilla.org/en-US/docs/Web/API/View_Transition_API#pseudo-elements) to build reusable animations:
130130

131131
```css
132-
::view-transition-group(.my-class) {
132+
::view-transition-group(.slide-in) {
133133

134134
}
135-
::view-transition-old(.my-class) {
135+
::view-transition-old(.slide-in) {
136136

137137
}
138-
::view-transition-new(.my-class) {
138+
::view-transition-new(.slide-in) {
139139

140140
}
141141
```

0 commit comments

Comments
 (0)