Add .gitignore to exclude all node packages and lock files

This commit is contained in:
Adolfo Reyna
2026-02-23 21:56:04 -05:00
parent faae96c9ed
commit dcc5c6c044
9747 changed files with 1555105 additions and 2 deletions
@@ -0,0 +1,17 @@
import { jsx as _jsx } from "react/jsx-runtime";
import { useImperativeHandle, useState } from 'react';
import { flushSync } from 'react-dom';
import { Internals } from 'remotion';
export const UpdateTime = ({ children, audioEnabled, videoEnabled, logLevel, compId, initialFrame, timeUpdater, }) => {
const [frame, setFrame] = useState(initialFrame);
useImperativeHandle(timeUpdater, () => ({
update: (f) => {
flushSync(() => {
setFrame(f);
});
},
}));
return (_jsx(Internals.RemotionRootContexts, { audioEnabled: audioEnabled, videoEnabled: videoEnabled, logLevel: logLevel, numberOfAudioTags: 0, audioLatencyHint: "interactive", frameState: {
[compId]: frame,
}, children: children }));
};