UNPKG

collaborative-ui

Version:

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

25 lines (24 loc) 664 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Background = void 0; const tslib_1 = require("tslib"); const React = tslib_1.__importStar(require("react")); const nano_theme_1 = require("nano-theme"); const css = { input: (0, nano_theme_1.rule)({ bg: 'rgba(127,127,127,.08)', bd: '0', w: '100%', d: 'block', bxz: 'border-box', pd: '12px', bdrad: '8px', '&+&': { mart: '8px', }, }), }; const Background = ({ children }) => { return React.createElement("div", { className: css.input }, children); }; exports.Background = Background;