Browse Source

SearchPageLayout precise props

Mao 4 years ago
parent
commit
5b1d6e4d3a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packages/app/src/components/SearchPage/SearchPageLayout.tsx

+ 3 - 3
packages/app/src/components/SearchPage/SearchPageLayout.tsx

@@ -7,9 +7,9 @@ type SearchResultMeta = {
 }
 
 type Props = {
-  SearchControl: any,
-  SearchResultList: any,
-  SearchResultContent: any,
+  SearchControl: React.FunctionComponent,
+  SearchResultList: React.FunctionComponent,
+  SearchResultContent: React.FunctionComponent,
   searchResultMeta: SearchResultMeta,
   searchingKeyword: string
 }