MCPcopy Create free account
hub / github.com/microsoft/SandDance / getHostProps$2

Function getHostProps$2

docs/external/js/react-dom.development.js:2378–2382  ·  view source on GitHub ↗

* Implements a host component that allows optionally setting the * props `value` and `defaultValue`. If `multiple` is false, the prop must be a * stringable. If `multiple` is true, the prop must be an array of stringables. * * If `value` is not supplied (or null/undefined), user

(element, props)

Source from the content-addressed store, hash-verified

2376
2377
2378 function getHostProps$2(element, props) {
2379 return _assign({}, props, {
2380 value: undefined
2381 });
2382 }
2383 function initWrapperState$1(element, props) {
2384 var node = element;
2385

Callers 2

setInitialPropertiesFunction · 0.85
diffPropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected