mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
refactor main components and IProps
This commit is contained in:
parent
85a182c053
commit
efbaf13151
124 changed files with 235 additions and 256 deletions
|
@ -15,12 +15,12 @@ import { useSearchContext } from '~/utils/providers/SearchProvider';
|
|||
import { FlowRecent } from './components/FlowRecent';
|
||||
import { FlowSearchResults } from './components/FlowSearchResults';
|
||||
|
||||
interface IProps {
|
||||
interface Props {
|
||||
isFluid: boolean;
|
||||
onToggleLayout: () => void;
|
||||
}
|
||||
|
||||
const FlowStamp: FC<IProps> = ({ isFluid, onToggleLayout }) => {
|
||||
const FlowStamp: FC<Props> = ({ isFluid, onToggleLayout }) => {
|
||||
const {
|
||||
searchText,
|
||||
hasMore: searchHasMore,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue