MCPcopy
hub / github.com/gcanti/tcomb-form-native / getLocals

Method getLocals

lib/components.js:386–402  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

384 }
385
386 getLocals() {
387 const locals = super.getLocals();
388 locals.options = this.getOptions();
389
390 [
391 "help",
392 "disabled",
393 "mode",
394 "prompt",
395 "itemStyle",
396 "isCollapsed",
397 "onCollapseChange",
398 "testID"
399 ].forEach(name => (locals[name] = this.props.options[name]));
400
401 return locals;
402 }
403}
404
405Select.transformer = nullOption => {

Callers

nothing calls this directly

Calls 2

getOptionsMethod · 0.95
getLocalsMethod · 0.45

Tested by

no test coverage detected