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

Function rowProps

src/components/GridView/RNGridView.ts:59–67  ·  view source on GitHub ↗
(props: GridViewRowProps)

Source from the content-addressed store, hash-verified

57 }
58 },
59 set rowProps(props: GridViewRowProps) {
60 for (const indexString of Object.keys(props)) {
61 const index = parseInt(indexString, 10);
62 const { stretch, minHeight } = props[index];
63
64 widget.layout()?.setRowStretch(index, stretch ?? 0);
65 widget.layout()?.setRowMinimumHeight(index, minHeight ?? 0);
66 }
67 },
68 };
69 Object.assign(setter, newProps);
70 setViewProps(widget, newProps, oldProps);

Callers

nothing calls this directly

Calls 1

layoutMethod · 0.45

Tested by

no test coverage detected