UNPKG

clickable-json

Version:

Interactive JSON and JSON CRDT viewer and editor

20 lines 601 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SwitchAction = void 0; const React = require("react"); const nano_theme_1 = require("nano-theme"); const css = require("../../css"); const _1 = require("."); const blockClass = (0, nano_theme_1.drule)({ w: '20px', h: '20px', bdrad: '50%', svg: { fill: css.blue, }, }); const SwitchAction = (props) => { return (React.createElement(_1.Action, Object.assign({}, props, { className: blockClass() }), '~')); }; exports.SwitchAction = SwitchAction; //# sourceMappingURL=SwitchAction.js.map