Просмотр исходного кода

SearchPageLayout precise props

Mao 4 лет назад
Родитель
Сommit
5b1d6e4d3a
1 измененных файлов с 3 добавлено и 3 удалено
  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
 }