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:
parent
f121dea3ea
commit
da9ac62584
9 changed files with 79 additions and 41 deletions
|
@ -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 }) => (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue