import { Player } from "@remotion/player"; import { useMemo, useState } from "react"; import { DURATION_IN_FRAMES, COMPOSITION_FPS, COMPOSITION_HEIGHT, COMPOSITION_WIDTH, } from "./remotion/constants.mjs"; import "./app.css"; import { z } from "zod"; import { Main } from "./remotion/components/Main"; import { RenderControls } from "./components/RenderControls"; import { Spacing } from "./components/Spacing"; import { Tips } from "./components/Tips"; import { CompositionProps } from "./remotion/schemata"; export default function Index() { const [text, setText] = useState("React Router + Remotion"); const inputProps: z.infer = useMemo(() => { return { title: text, }; }, [text]); return (
); }