Преглед изворни кода

SearchPageLayout precise props

Mao пре 4 година
родитељ
комит
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 = {
 type Props = {
-  SearchControl: any,
-  SearchResultList: any,
-  SearchResultContent: any,
+  SearchControl: React.FunctionComponent,
+  SearchResultList: React.FunctionComponent,
+  SearchResultContent: React.FunctionComponent,
   searchResultMeta: SearchResultMeta,
   searchResultMeta: SearchResultMeta,
   searchingKeyword: string
   searchingKeyword: string
 }
 }