(type, props)
| 21442 | return !0; |
| 21443 | } |
| 21444 | function validateProperties$2(type, props) { |
| 21445 | var invalidProps = [], |
| 21446 | key; |
| 21447 | for (key in props) |
| 21448 | validateProperty$1(type, key) || invalidProps.push(key); |
| 21449 | props = invalidProps |
| 21450 | .map(function (prop) { |
| 21451 | return "`" + prop + "`"; |
| 21452 | }) |
| 21453 | .join(", "); |
| 21454 | 1 === invalidProps.length |
| 21455 | ? console.error( |
| 21456 | "Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props", |
| 21457 | props, |
| 21458 | type |
| 21459 | ) |
| 21460 | : 1 < invalidProps.length && |
| 21461 | console.error( |
| 21462 | "Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props", |
| 21463 | props, |
| 21464 | type |
| 21465 | ); |
| 21466 | } |
| 21467 | function validateProperty(tagName, name, value, eventRegistry) { |
| 21468 | if (hasOwnProperty.call(warnedProperties, name) && warnedProperties[name]) |
| 21469 | return !0; |
no test coverage detected
searching dependent graphs…