import React from 'react'; import Header from './Header'; import { IShareListHeader } from './interface'; const ShareListHeader = React.memo(({ searching, initSearch, cancelSearch, onChangeSearchText, theme }: IShareListHeader) => { const onSearchChangeText = (text: string) => { onChangeSearchText(text.trim()); }; return (
); }); export default ShareListHeader;