UNPKG

collaborative-ui

Version:

React component library for building real-time collaborative editing applications.

12 lines (11 loc) 348 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.copyStyles = void 0; const copyStyles = (from, to, which) => { const styles = window.getComputedStyle(from); if (!styles) return; for (const property of which) to.style[property] = styles[property]; }; exports.copyStyles = copyStyles;