(
name: string,
componentCtor: ComponentConstructor<IComponent>,
navigationController: NavigationController,
)
| 115 | ): void { |
| 116 | navigationController.present(componentCtor, {}, {}); |
| 117 | } |
| 118 | |
| 119 | private renderButton( |
| 120 | name: string, |
| 121 | componentCtor: ComponentConstructor<IComponent>, |
| 122 | navigationController: NavigationController, |
| 123 | ): void { |
| 124 | <PageButton |
| 125 | title={`Present ${name}`} |
| 126 | onTap={createReusableCallback(() => { |
| 127 | this.presentPage(name, componentCtor, navigationController); |
| 128 | })} |
| 129 | />; |
| 130 | } |
| 131 | } |
no test coverage detected