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.4 to 1.0.5

9

index.ts

@@ -40,4 +40,3 @@ import React, { ChangeEvent, ReactNode } from "react";

* @param {boolean} condition - The condition to check.
* @param {ReactNode} children - The children to render if the condition is true.
* @returns {ReactNode|null} The rendered children if the condition is true, otherwise null.
* @returns {ReactNode | null} The rendered children if the condition is true, otherwise null.
*/

@@ -53,4 +52,3 @@ When: ({ condition, children }: ChoiceProps): ReactNode | null => {

* @param {boolean} condition - The condition to check.
* @param {ReactNode} children - The children to render if the condition is false.
* @returns {ReactNode|null} The rendered children if the condition is false, otherwise null.
* @returns {ReactNode | null} The rendered children if the condition is false, otherwise null.
*/

@@ -66,4 +64,3 @@ Then: ({ condition, children }: ChoiceProps): ReactNode | null => {

* @param {boolean} condition - The first condition to check.
* @param {ReactNode} children - The children to render if both conditions are true.
* @returns {ReactNode|null} The rendered children if both conditions are true, otherwise null.
* @returns {ReactNode | null} The rendered children if both conditions are true, otherwise null.
*/

@@ -70,0 +67,0 @@ And: ({ condition, children }: ChoiceProps): ReactNode | null => {

{
"name": "react-mkx-components",
"version": "1.0.4",
"version": "1.0.5",
"description": "",

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

"devDependencies": {
"@babel/preset-react": "^7.24.1",
"@types/react": "^18.2.66"
}
}
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