()
| 19 | </Sequence> |
| 20 | </> |
| 21 | ); |
| 22 | |
| 23 | export const fadeThroughExampleCode = |
| 24 | (): string => `import { Composition, Sequence } from "remotion"; |
| 25 | import { FadeThrough } from "@/components/remocn/fade-through"; |
| 26 | |
| 27 | const FadeThroughScene = () => ( |
| 28 | <> |
| 29 | <Sequence durationInFrames={40}> |
| 30 | <FadeThrough fromText="Calm transitions." toText="Fade through content." /> |
| 31 | </Sequence> |
| 32 | <Sequence from={40} durationInFrames={40}> |
| 33 | <FadeThrough fromText="Fade through content." toText="Focus shifts smoothly." /> |
| 34 | </Sequence> |
| 35 | </> |
| 36 | ); |
| 37 | |
| 38 | export const RemotionRoot = () => ( |
| 39 | <Composition |
| 40 | id="FadeThrough" |
| 41 | component={FadeThroughScene} |
| 42 | durationInFrames={80} |
| 43 | fps={30} |
| 44 | width={1280} |
| 45 | height={720} |
| 46 | /> |
| 47 | );`; |
nothing calls this directly
no outgoing calls
no test coverage detected