Rename StepperConnector
parent
9c2ed89f6e
commit
b26f41b128
|
@ -9,7 +9,7 @@ import {
|
|||
makeStyles
|
||||
} from "@material-ui/core";
|
||||
import { useLocation, useHistory } from "react-router-dom";
|
||||
import ColorlibConnector from "./ColorlibConnector";
|
||||
import StepperConnector from "./StepperConnector";
|
||||
import ColorlibStepIcon from "./ColorlibStepIcon";
|
||||
|
||||
const styles = () => ({
|
||||
|
@ -47,7 +47,7 @@ const ApplicationStepper = () => {
|
|||
<Stepper
|
||||
activeStep={activeStep.id}
|
||||
orientation="horizontal"
|
||||
connector={<ColorlibConnector />}
|
||||
connector={<StepperConnector />}
|
||||
>
|
||||
{steps.map((step) => (
|
||||
<Step key={step.id}>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { withStyles } from "@material-ui/core/styles";
|
||||
import StepConnector from "@material-ui/core/StepConnector";
|
||||
|
||||
const ColorlibConnector = withStyles({
|
||||
const StepperConnector = withStyles({
|
||||
alternativeLabel: {
|
||||
top: 22
|
||||
},
|
||||
|
@ -25,4 +25,4 @@ const ColorlibConnector = withStyles({
|
|||
}
|
||||
})(StepConnector);
|
||||
|
||||
export default ColorlibConnector;
|
||||
export default StepperConnector;
|
Loading…
Reference in New Issue