MCPcopy Create free account
hub / github.com/Snapchat/Valdi / renderChildren

Method renderChildren

apps/navigation_example/NavigationExample.tsx:76–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 onRender(): void {
75 <PageBackground>{this.renderChildren()}</PageBackground>;
76 }
77
78 private renderChildren(): void {
79 <PageButton
80 title={`Present nested`}
81 onTap={createReusableCallback(() => {
82 this.navigationController.present(Page1, {}, {});
83 })}
84 />;
85 <PageButton
86 title={`Dismiss`}
87 onTap={createReusableCallback(() => {
88 this.navigationController.dismiss(true);
89 })}
90 />;
91 }
92}

Callers 1

onRenderMethod · 0.95

Calls 3

createReusableCallbackFunction · 0.90
dismissMethod · 0.65
presentMethod · 0.45

Tested by

no test coverage detected