1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

getting node results for search

This commit is contained in:
Fedor Katurov 2020-04-18 16:06:10 +07:00
parent 41a35f1490
commit 94ac596b92
15 changed files with 308 additions and 164 deletions

View file

@ -0,0 +1,21 @@
import React, { FC } from 'react';
import styles from './styles.scss';
import { IFlowState } from '~/redux/flow/reducer';
import { LoaderCircle } from '~/components/input/LoaderCircle';
interface IProps {
search: IFlowState['search'];
}
const FlowSearchResults: FC<IProps> = ({ search }) => {
if (search.is_loading) {
return (
<div className={styles.loading}>
<LoaderCircle size={64} />
</div>
);
}
return <div className={styles.wrap}>SEARCH</div>;
};
export { FlowSearchResults };