// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import * as React from 'react'; import { withStyles, WithStyles, StyleRulesCallback, Grid, Button } from '@material-ui/core'; import { ArvadosTheme } from '~/common/custom-theme'; import { Field, reduxForm, InjectedFormProps } from 'redux-form'; import { TextField } from '~/components/text-field/text-field'; import { RunProcessSecondStepDataFormProps, RUN_PROCESS_SECOND_STEP_FORM_NAME } from '~/store/run-process-panel/run-process-panel-actions'; type CssRules = 'root'; const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ root: { } }); export interface RunProcessSecondStepDataProps { } export interface RunProcessSecondStepActionProps { onSetStep: (step: number) => void; onRunProcess: (data: RunProcessSecondStepDataFormProps) => void; } type RunProcessSecondStepProps = RunProcessSecondStepDataProps & RunProcessSecondStepActionProps & WithStyles & InjectedFormProps; const RunProcessSecondStep = withStyles(styles)( ({ onSetStep, classes }: RunProcessSecondStepProps) =>
); export const RunProcessSecondStepForm = reduxForm({ form: RUN_PROCESS_SECOND_STEP_FORM_NAME })(RunProcessSecondStep);