react-iframe-bridge
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -8,3 +8,3 @@ "use strict"; | ||
const dispatch = HomeContext_1.useHomeDispatchContext(); | ||
return (jsx_runtime_1.jsxs("header", Object.assign({ className: "flex flex-row p-2 space-x-4" }, { children: [jsx_runtime_1.jsx("input", { name: "rocUrl", type: "text", className: "flex-1 form-input", value: rocUrl, readOnly: true }, void 0), jsx_runtime_1.jsx("input", { name: "database", type: "text", className: "flex-1 form-input", value: database, readOnly: true }, void 0), jsx_runtime_1.jsx("input", { name: "iframe-page", value: iframePage, type: "text", className: "form-input", onChange: (event) => { | ||
return (jsx_runtime_1.jsxs("header", Object.assign({ className: "flex flex-row p-2 space-x-4" }, { children: [jsx_runtime_1.jsx("input", { name: "rocUrl", type: "text", className: "flex-1 form-input", value: rocUrl, readOnly: true }, void 0), jsx_runtime_1.jsx("input", { name: "database", type: "text", className: "form-input", value: database, readOnly: true }, void 0), jsx_runtime_1.jsx("input", { name: "iframe-page", value: iframePage, type: "text", className: "flex-1 form-input", onChange: (event) => { | ||
dispatch({ type: 'SET_IFRAME_PAGE', payload: event.target.value }); | ||
@@ -11,0 +11,0 @@ } }, void 0)] }), void 0)); |
@@ -6,5 +6,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
const dispatch = useHomeDispatchContext(); | ||
return (_jsxs("header", Object.assign({ className: "flex flex-row p-2 space-x-4" }, { children: [_jsx("input", { name: "rocUrl", type: "text", className: "flex-1 form-input", value: rocUrl, readOnly: true }, void 0), _jsx("input", { name: "database", type: "text", className: "flex-1 form-input", value: database, readOnly: true }, void 0), _jsx("input", { name: "iframe-page", value: iframePage, type: "text", className: "form-input", onChange: (event) => { | ||
return (_jsxs("header", Object.assign({ className: "flex flex-row p-2 space-x-4" }, { children: [_jsx("input", { name: "rocUrl", type: "text", className: "flex-1 form-input", value: rocUrl, readOnly: true }, void 0), _jsx("input", { name: "database", type: "text", className: "form-input", value: database, readOnly: true }, void 0), _jsx("input", { name: "iframe-page", value: iframePage, type: "text", className: "flex-1 form-input", onChange: (event) => { | ||
dispatch({ type: 'SET_IFRAME_PAGE', payload: event.target.value }); | ||
} }, void 0)] }), void 0)); | ||
} |
{ | ||
"name": "react-iframe-bridge", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "React hooks and components to work with iframe-bridge.", | ||
@@ -5,0 +5,0 @@ "main": "lib-cjs/index.js", |