File size: 493 Bytes
e3322d7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
import { Button, Flex } from 'antd';
import { useSaveGraph } from '../hooks';
import styles from './index.less';
const FlowHeader = () => {
const { saveGraph } = useSaveGraph();
return (
<Flex
align="center"
justify="end"
gap={'large'}
className={styles.flowHeader}
>
<Button>
<b>Debug</b>
</Button>
<Button type="primary" onClick={saveGraph}>
<b>Save</b>
</Button>
</Flex>
);
};
export default FlowHeader;
|