diff --git a/src/components/Dashboard/common/WizardView.jsx b/src/components/Dashboard/common/WizardView.jsx index 66efe6b..3136f97 100644 --- a/src/components/Dashboard/common/WizardView.jsx +++ b/src/components/Dashboard/common/WizardView.jsx @@ -1,7 +1,15 @@ import PropTypes from 'prop-types' import { useState } from 'react' import { useMediaQuery } from 'react-responsive' -import { Typography, Flex, Steps, Divider, Progress } from 'antd' +import { + Typography, + Flex, + Steps, + Divider, + Progress, + Button, + Dropdown +} from 'antd' import NewObjectButtons from './NewObjectButtons' const { Title } = Typography @@ -15,7 +23,10 @@ const WizardView = ({ loading, sideBar = null, submitText = 'Done', - progress = 0 + progress = 0, + actions = [], + sideBarGrow = false, + disabled = false }) => { const [currentStep, setCurrentStep] = useState(0) const isMobile = useMediaQuery({ maxWidth: 768 }) @@ -26,7 +37,7 @@ const WizardView = ({ sideBar != null ? ( sideBar ) : ( -