MCPcopy Create free account
hub / github.com/Remocn/remocn / fadeThroughExampleCode

Function fadeThroughExampleCode

components/docs/examples/fade-through-example.tsx:21–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19 </Sequence>
20 </>
21);
22
23export const fadeThroughExampleCode =
24 (): string => `import { Composition, Sequence } from "remotion";
25import { FadeThrough } from "@/components/remocn/fade-through";
26
27const 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
38export const RemotionRoot = () => (
39 <Composition
40 id="FadeThrough"
41 component={FadeThroughScene}
42 durationInFrames={80}
43 fps={30}
44 width={1280}
45 height={720}
46 />
47);`;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected