react-mkx-components
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5712
2
126