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

hooks to show node loader

This commit is contained in:
muerwre 2019-08-25 16:34:42 +07:00
parent f121dea3ea
commit da9ac62584
9 changed files with 79 additions and 41 deletions

View file

@ -6,7 +6,7 @@ import { IFlowState } from '~/redux/flow/reducer';
import { INode } from '~/redux/types';
type IProps = Partial<IFlowState> & {
onSelect: (id: INode['id']) => void;
onSelect: (id: INode['id'], type: INode['type']) => void;
};
export const FlowGrid: FC<IProps> = ({ nodes, onSelect }) => (