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:
parent
41a35f1490
commit
94ac596b92
15 changed files with 308 additions and 164 deletions
21
src/components/flow/FlowSearchResults/index.tsx
Normal file
21
src/components/flow/FlowSearchResults/index.tsx
Normal 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 };
|
Loading…
Add table
Add a link
Reference in a new issue