File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import { useIntl } from 'react-intl';
44
55import type { IStackStyle , IXStackProps } from '@onekeyhq/components' ;
66import {
7- IconButton ,
87 SearchBar ,
98 Shortcut ,
109 View ,
1110 XStack ,
1211 useIsWebHorizontalLayout ,
1312} from '@onekeyhq/components' ;
13+ import { HeaderIconButton } from '@onekeyhq/components/src/layouts/Navigation/Header' ;
1414import { ETranslations } from '@onekeyhq/shared/src/locale' ;
1515import platformEnv from '@onekeyhq/shared/src/platformEnv' ;
1616import { EModalRoutes } from '@onekeyhq/shared/src/routes' ;
@@ -39,10 +39,12 @@ export function UniversalSearchInput({
3939
4040 if ( size === 'small' ) {
4141 return (
42- < IconButton
43- variant = "tertiary "
42+ < HeaderIconButton
43+ size = "small "
4444 icon = "SearchOutline"
45- title = "Search everything"
45+ title = { intl . formatMessage ( {
46+ id : ETranslations . global_search_everything ,
47+ } ) }
4648 onPress = { toUniversalSearchPage }
4749 />
4850 ) ;
You can’t perform that action at this time.
0 commit comments