UNPKG

@react-av/editor

Version:

Editor Timeline Components built on React AV.

5 lines 683 B
import { jsx as _jsx } from "react/jsx-runtime"; export function TimelineContainer({ styling, children }) { return _jsx("div", { style: Object.assign(Object.assign({ marginBottom: '-1px' }, (typeof (styling === null || styling === void 0 ? void 0 : styling.timelineContainer) === 'string' ? {} : styling === null || styling === void 0 ? void 0 : styling.timelineContainer)), { display: 'grid', gridTemplateColumns: 'min-content 1fr', position: 'relative' }), className: typeof (styling === null || styling === void 0 ? void 0 : styling.timelineContainer) === 'string' ? styling.timelineContainer : undefined, children: children }); } //# sourceMappingURL=TimelineContainer.js.map