Rename StepperConnector

master
Tudor Stanciu 2020-12-19 01:30:03 +02:00
parent 9c2ed89f6e
commit b26f41b128
2 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ import {
makeStyles makeStyles
} from "@material-ui/core"; } from "@material-ui/core";
import { useLocation, useHistory } from "react-router-dom"; import { useLocation, useHistory } from "react-router-dom";
import ColorlibConnector from "./ColorlibConnector"; import StepperConnector from "./StepperConnector";
import ColorlibStepIcon from "./ColorlibStepIcon"; import ColorlibStepIcon from "./ColorlibStepIcon";
const styles = () => ({ const styles = () => ({
@ -47,7 +47,7 @@ const ApplicationStepper = () => {
<Stepper <Stepper
activeStep={activeStep.id} activeStep={activeStep.id}
orientation="horizontal" orientation="horizontal"
connector={<ColorlibConnector />} connector={<StepperConnector />}
> >
{steps.map((step) => ( {steps.map((step) => (
<Step key={step.id}> <Step key={step.id}>

View File

@ -1,7 +1,7 @@
import { withStyles } from "@material-ui/core/styles"; import { withStyles } from "@material-ui/core/styles";
import StepConnector from "@material-ui/core/StepConnector"; import StepConnector from "@material-ui/core/StepConnector";
const ColorlibConnector = withStyles({ const StepperConnector = withStyles({
alternativeLabel: { alternativeLabel: {
top: 22 top: 22
}, },
@ -25,4 +25,4 @@ const ColorlibConnector = withStyles({
} }
})(StepConnector); })(StepConnector);
export default ColorlibConnector; export default StepperConnector;