@nextui-org/react-rsc-utils
Advanced tools
Comparing version 0.0.0-dev-v2-20230910202727 to 0.0.0-dev-v2-20230915015940
@@ -211,9 +211,6 @@ "use strict"; | ||
var funcRe = /^(on[A-Z].*)$/; | ||
function filterDOMProps(props, opts = { | ||
labelable: true, | ||
enabled: true | ||
}) { | ||
let { labelable, propNames, omitPropNames, omitEventNames } = opts; | ||
function filterDOMProps(props, opts = {}) { | ||
let { labelable = true, enabled = true, propNames, omitPropNames, omitEventNames } = opts; | ||
let filteredProps = {}; | ||
if (!opts.enabled) { | ||
if (!enabled) { | ||
return props; | ||
@@ -220,0 +217,0 @@ } |
{ | ||
"name": "@nextui-org/react-rsc-utils", | ||
"version": "0.0.0-dev-v2-20230910202727", | ||
"version": "0.0.0-dev-v2-20230915015940", | ||
"description": "A set of utilities for react compatible with RSC", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
278285
7499