You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, `<ViewTransition>` includes the default cross-fade from the browser.
2486
+
기본적으로 `<ViewTransition>`은 브라우저의 기본 크로스페이드를 포함합니다.
2487
2487
2488
-
To customize animations, you can provide props to the `<ViewTransition>` component to specify which animations to use, based on [how the `<ViewTransition>`activates](/reference/react/ViewTransition#props).
2488
+
애니메이션을 커스터마이징하려면, [어떻게 `<ViewTransition>`이 활성화되는지](/reference/react/ViewTransition#props)에 따라, 어떤 애니메이션을 사용할지 지정하는 Props를 `<ViewTransition>`컴포넌트에 제공할 수 있습니다.
2489
2489
2490
-
For example, we can slow down the `default`cross fade animation:
2490
+
예를 들어, `default`크로스페이드 애니메이션을 느리게 만들 수 있습니다.
2491
2491
2492
2492
```js
2493
2493
<ViewTransition default="slow-fade">
2494
2494
<Home />
2495
2495
</ViewTransition>
2496
2496
```
2497
2497
2498
-
And define `slow-fade` in CSS using [view transition classes](/reference/react/ViewTransition#view-transition-classes):
2498
+
그리고 [View Transition 클래스](/reference/react/ViewTransition#view-transition-classes)를 사용하여 CSS에서 `slow-fade`를 정의합니다.
2499
2499
2500
2500
```css
2501
2501
::view-transition-old(.slow-fade) {
@@ -2507,7 +2507,7 @@ And define `slow-fade` in CSS using [view transition classes](/reference/react/V
2507
2507
}
2508
2508
```
2509
2509
2510
-
Now, the cross fade is slower:
2510
+
이제 크로스페이드가 더 느려집니다.
2511
2511
2512
2512
<Sandpack>
2513
2513
@@ -3686,21 +3686,21 @@ root.render(
3686
3686
3687
3687
</Sandpack>
3688
3688
3689
-
See [Styling View Transitions](/reference/react/ViewTransition#styling-view-transitions) for a full guide on styling `<ViewTransition>`.
3689
+
`<ViewTransition>` 스타일링에 대한 전체 가이드는 [View Transition 스타일링](/reference/react/ViewTransition#styling-view-transitions)을 참조하세요.
3690
3690
3691
3691
### Shared Element Transitions {/*shared-element-transitions*/}
3692
3692
3693
-
When two pages include the same element, often you want to animate it from one page to the next.
3693
+
두 페이지에 같은 요소가 있을 때, 종종 한 페이지에서 다음 페이지로 이어지도록 애니메이션을 주고 싶을 때가 있습니다.
3694
3694
3695
-
To do this you can add a unique `name`to the `<ViewTransition>`:
3695
+
이를 위해 `<ViewTransition>`에 고유한 `name`속성을 추가할 수 있습니다.
3696
3696
3697
3697
```js
3698
3698
<ViewTransition name={`video-${video.id}`}>
3699
3699
<Thumbnail video={video} />
3700
3700
</ViewTransition>
3701
3701
```
3702
3702
3703
-
Now the video thumbnail animates between the two pages:
3703
+
이제 비디오 썸네일이 두 페이지 사이에서 애니메이션으로 전환됩니다.
3704
3704
3705
3705
<Sandpack>
3706
3706
@@ -4895,9 +4895,9 @@ root.render(
4895
4895
4896
4896
</Sandpack>
4897
4897
4898
-
By default, React automatically generates a unique `name` for each element activated for a transition (see [How does `<ViewTransition>` work](/reference/react/ViewTransition#how-does-viewtransition-work)). When React sees a transition where a `<ViewTransition>` with a`name` is removed and a new `<ViewTransition>` with the same `name` is added, it will activate a shared element transition.
4898
+
기본적으로 React는 Transition에 활성화된 각 요소에 대해 고유한 `name`을 자동으로 생성합니다. ([`<ViewTransition>`이 어떻게 동작하는지 참고하세요.](/reference/react/ViewTransition#how-does-viewtransition-work)) React가 어떤 Transition에서 특정 `name`을 가진 `<ViewTransition>`이 제거되고, 동일한`name`을 가진 새로운 `<ViewTransition>`이 추가된 것을 감지하면 공유 요소 전환<sup>Shared Element Transition</sup>을 활성화합니다.
4899
4899
4900
-
For more info, see the docs for [Animating a Shared Element](/reference/react/ViewTransition#animating-a-shared-element).
4900
+
자세한 내용은 [Animating a Shared Element](/reference/react/ViewTransition#animating-a-shared-element) 문서를 참고하세요.
4901
4901
4902
4902
### Animating based on cause {/*animating-based-on-cause*/}
0 commit comments