Browse Source

update docs

Daniel Zlotin 6 years ago
parent
commit
b520a90c7d
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      docs/api/ComponentRegistry.md

+ 2
- 2
docs/api/ComponentRegistry.md View File

@@ -2,9 +2,9 @@
2 2
 
3 3
 ## registerComponent
4 4
 
5
-`registerComponent(componentName: string, getComponentClassFunc: ComponentProvider): React.ComponentType<any>`
5
+`registerComponent(componentName: string, getComponentClassFunc: ComponentProvider): void`
6 6
 
7
-[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/components/ComponentRegistry.ts#L12)
7
+[source](https://github.com/wix/react-native-navigation/blob/v2/lib/src/components/ComponentRegistry.ts#L11)
8 8
 
9 9
 ---
10 10