({
zoom,
blur,
}: PushThroughExampleProps)
| 37 | } |
| 38 | |
| 39 | export function PushThroughExampleScene({ |
| 40 | zoom, |
| 41 | blur, |
| 42 | }: PushThroughExampleProps) { |
| 43 | return ( |
| 44 | <TransitionSeries> |
| 45 | <TransitionSeries.Sequence durationInFrames={76}> |
| 46 | <Scene label="Scene A" background="#141318" /> |
| 47 | </TransitionSeries.Sequence> |
| 48 | <TransitionSeries.Transition |
| 49 | timing={linearTiming({ durationInFrames: 40 })} |
| 50 | presentation={pushThrough({ zoom, blur })} |
| 51 | /> |
| 52 | <TransitionSeries.Sequence durationInFrames={76}> |
| 53 | <Scene label="Push Through" background="#1a1922" /> |
| 54 | </TransitionSeries.Sequence> |
| 55 | </TransitionSeries> |
| 56 | ); |
| 57 | } |
| 58 | |
| 59 | export const pushThroughExampleCode = ( |
| 60 | values: Record<string, unknown>, |
nothing calls this directly
no test coverage detected