MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / getHostProps$2

Function getHostProps$2

code/composition/public/app.js:14708–14712  ·  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 actions

(element, props)

Source from the content-addressed store, hash-verified

14706 */
14707
14708function getHostProps$2(element, props) {
14709 return _assign({}, props, {
14710 value: undefined
14711 });
14712}
14713
14714function initWrapperState$1(element, props) {
14715 var node = element;

Callers 2

setInitialProperties$1Function · 0.70
diffProperties$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected