UNPKG

@remotion/studio

Version:

APIs for interacting with the Remotion Studio

20 lines (19 loc) 706 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TimelineSequenceFrame = void 0; const jsx_runtime_1 = require("react/jsx-runtime"); const relativeFrameStyle = { fontSize: 11, fontFamily: 'Arial, Helvetica, sans-serif', color: 'white', opacity: 0.5, whiteSpace: 'nowrap', }; const TimelineSequenceFrame = ({ roundedFrame, premounted, postmounted }) => { return (jsx_runtime_1.jsx("div", { style: relativeFrameStyle, children: premounted ? '0 (Premounted)' : postmounted !== null ? `${postmounted} (Postmounted)` : roundedFrame })); }; exports.TimelineSequenceFrame = TimelineSequenceFrame;