Skip to content

Commit

Permalink
ButtonGroup on form
Browse files Browse the repository at this point in the history
  • Loading branch information
dagda1 committed Mar 27, 2023
1 parent 381b4bb commit 7ddb1a7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions plugins/parodos/src/components/Form/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ import {
} from '@rjsf/core-v5';
import type { FormSchema } from '../types';
import { JsonValue } from '@backstage/types';
import { Step, StepLabel, Stepper, Button } from '@material-ui/core';
import {
Step,
StepLabel,
Stepper,
Button,
ButtonGroup,
} from '@material-ui/core';
import { FluidObjectFieldTemplate } from '../layouts/FluidObjectFieldTemplate';
import { OutlinedBaseInputTemplate } from './widgets/TextAreaWidget';
import ArrayFieldTemplate from './Templates/ArrayFieldTemplate';
Expand Down Expand Up @@ -98,7 +104,7 @@ export function Form({
{stepLess ? (
children
) : (
<div className={styles.buttonContainer}>
<ButtonGroup className={styles.buttonContainer}>
<Button
disabled={activeStep === 0}
className={styles.previous}
Expand All @@ -114,7 +120,7 @@ export function Form({
>
NEXT
</Button>
</div>
</ButtonGroup>
)}
</JsonForm>
);
Expand Down

0 comments on commit 7ddb1a7

Please sign in to comment.