瀏覽代碼

update docs

Daniel Zlotin 6 年之前
父節點
當前提交
b520a90c7d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      docs/api/ComponentRegistry.md

+ 2
- 2
docs/api/ComponentRegistry.md 查看文件

@@ -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