Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-mkx-components

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-mkx-components - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

14

dist/index.js

@@ -17,3 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Input = void 0;
exports.Choice = exports.Input = void 0;
const react_1 = __importDefault(require("react"));

@@ -28,2 +28,14 @@ const Input = (_a) => {

exports.Input = Input;
const Choice = {
When: ({ condition, children }) => {
return condition ? children : null;
},
Then: ({ condition, children }) => {
return !condition ? children : null;
},
And: ({ condition, children }) => {
return condition && children;
},
};
exports.Choice = Choice;
//# sourceMappingURL=index.js.map

3

package.json
{
"name": "react-mkx-components",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

@@ -18,5 +18,4 @@ "main": "./dist/index.js",

"devDependencies": {
"@babel/preset-react": "^7.24.1",
"@types/react": "^18.2.66"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc