adjusted scrollbar for dag in all possible modes
removed pages
This commit is contained in:
1 parent
3f74c10cbf
commit
28fbdf1698
26 files changed
+92
-155
No files matched your search
@@ -1,6 +1,5 @@
|
||||
import { ComponentMeta, ComponentStory } from "@storybook/react";
|
||||
import { useState } from "react";
|
||||
import { usePageTheme } from "styles/page";
|
||||
import { AutoInfoBox } from "./AutoInfoBox";
|
||||
|
||||
export default {
|
||||
@@ -11,10 +10,9 @@ export default {
|
||||
|
||||
|
||||
export const Basic: ComponentStory<typeof AutoInfoBox> = args => {
|
||||
const { classes } = usePageTheme({});
|
||||
const [state, setState] = useState(args.metadata)
|
||||
return (
|
||||
<div className={classes.page}>
|
||||
<div className="page">
|
||||
<AutoInfoBox
|
||||
className=""
|
||||
metadata={state}
|
||||
|
||||
@@ -3,7 +3,6 @@ import { ComponentMeta, ComponentStory } from '@storybook/react';
|
||||
import { AutomationEditor } from './index';
|
||||
import { NODE_HEIGHT, NODE_WIDTH, DISTANCE_FACTOR, ADD_HEIGHT, ADD_WIDTH, CIRCLE_SIZE } from '../DAGSvgs/constants';
|
||||
import { useState } from 'react';
|
||||
import { usePageTheme } from "styles/page";
|
||||
|
||||
|
||||
export default {
|
||||
@@ -24,8 +23,7 @@ export default {
|
||||
|
||||
const Template: ComponentStory<typeof AutomationEditor> = args => {
|
||||
const [state, setState] = useState(args.automation)
|
||||
const { classes } = usePageTheme({});
|
||||
return <div className={classes.page}>
|
||||
return <div className="page">
|
||||
<AutomationEditor
|
||||
{...args}
|
||||
automation={state}
|
||||
|
||||
Reference in new issue
Block a user