MCPcopy Index your code
hub / github.com/nodegui/react-nodegui / setProps

Method setProps

src/components/GridView/RNGridView.ts:101–107  ·  view source on GitHub ↗
(newProps: GridViewProps, oldProps: GridViewProps)

Source from the content-addressed store, hash-verified

99 /* RNComponent */
100
101 setProps(newProps: GridViewProps, oldProps: GridViewProps): void {
102 if (this.layout()) {
103 setGridViewProps(this, newProps, oldProps);
104 } else {
105 this.initialProps = newProps;
106 }
107 }
108 appendInitialChild(child: RNGridRow): void {
109 this.appendChild(child);
110 }

Callers 2

createInstanceMethod · 0.95
commitUpdateMethod · 0.45

Calls 2

layoutMethod · 0.95
setGridViewPropsFunction · 0.85

Tested by

no test coverage detected