UNPKG

@react-av/editor

Version:

Editor Timeline Components built on React AV.

8 lines 821 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TimelineContainer = TimelineContainer; const jsx_runtime_1 = require("react/jsx-runtime"); function TimelineContainer({ styling, children }) { return (0, jsx_runtime_1.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