Skip to content

Commit e3eefd0

Browse files
index.js
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent f771d58 commit e3eefd0

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

  • src/sections/Projects/Sistent/components/stepper

src/sections/Projects/Sistent/components/stepper/index.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import SettingsIcon from "@mui/icons-material/Settings";
1212
import CheckCircleIcon from "@mui/icons-material/CheckCircle";
1313

1414
const StepOneDemo = () => (
15-
<Box sx={{ p: 2, textAlign: 'center' }}>
15+
<Box sx={{ p: 2, textAlign: "center" }}>
1616
<Typography variant="h6">User Information</Typography>
1717
<Typography variant="body2" color="textSecondary">
1818
Collect basic user details
@@ -21,7 +21,7 @@ const StepOneDemo = () => (
2121
);
2222

2323
const StepTwoDemo = () => (
24-
<Box sx={{ p: 2, textAlign: 'center' }}>
24+
<Box sx={{ p: 2, textAlign: "center" }}>
2525
<Typography variant="h6">Account Settings</Typography>
2626
<Typography variant="body2" color="textSecondary">
2727
Configure preferences
@@ -30,7 +30,7 @@ const StepTwoDemo = () => (
3030
);
3131

3232
const StepThreeDemo = () => (
33-
<Box sx={{ p: 2, textAlign: 'center' }}>
33+
<Box sx={{ p: 2, textAlign: "center" }}>
3434
<Typography variant="h6">Complete Setup</Typography>
3535
<Typography variant="body2" color="textSecondary">
3636
Review and finish
@@ -51,9 +51,9 @@ const SistentStepper = () => {
5151
activeStepComponent: ActiveStepComponent
5252
} = useStepper({
5353
steps: [
54-
{ label: 'User Info', component: StepOneDemo, icon: PersonIcon },
55-
{ label: 'Settings', component: StepTwoDemo, icon: SettingsIcon },
56-
{ label: 'Complete', component: StepThreeDemo, icon: CheckCircleIcon }
54+
{ label: "User Info", component: StepOneDemo, icon: PersonIcon },
55+
{ label: "Settings", component: StepTwoDemo, icon: SettingsIcon },
56+
{ label: "Complete", component: StepThreeDemo, icon: CheckCircleIcon }
5757
]
5858
});
5959

@@ -105,7 +105,7 @@ const SistentStepper = () => {
105105
They provide clear visual feedback about progress and help users understand
106106
what's required at each stage of a process.
107107
</p>
108-
108+
109109
<a id="Demo">
110110
<h2>Interactive Demo</h2>
111111
</a>
@@ -122,24 +122,24 @@ const SistentStepper = () => {
122122
>
123123
<ActiveStepComponent />
124124
</CustomizedStepper>
125-
126-
<Box sx={{ display: 'flex', justifyContent: 'space-between', mt: 3 }}>
125+
126+
<Box sx={{ display: "flex", justifyContent: "space-between", mt: 3 }}>
127127
<TabButton
128128
onClick={goBack}
129129
disabled={activeStep === 0}
130130
title="Previous"
131-
style={{
131+
style={{
132132
opacity: activeStep === 0 ? 0.5 : 1,
133-
cursor: activeStep === 0 ? 'not-allowed' : 'pointer'
133+
cursor: activeStep === 0 ? "not-allowed" : "pointer"
134134
}}
135135
/>
136136
<TabButton
137137
onClick={handleNext}
138138
disabled={activeStep === stepLabels.length - 1}
139-
title={activeStep === stepLabels.length - 1 ? 'Finish' : 'Next'}
140-
style={{
139+
title={activeStep === stepLabels.length - 1 ? "Finish" : "Next"}
140+
style={{
141141
opacity: activeStep === stepLabels.length - 1 ? 0.5 : 1,
142-
cursor: activeStep === stepLabels.length - 1 ? 'not-allowed' : 'pointer'
142+
cursor: activeStep === stepLabels.length - 1 ? "not-allowed" : "pointer"
143143
}}
144144
/>
145145
</Box>
@@ -153,25 +153,25 @@ const SistentStepper = () => {
153153
<p>
154154
The Sistent Stepper component provides several powerful features:
155155
</p>
156-
156+
157157
<h3>Linear Progress</h3>
158158
<p>
159159
Users complete steps in sequence, ensuring all required information
160160
is collected before proceeding to the next step.
161161
</p>
162-
162+
163163
<h3>Visual Progress Indication</h3>
164164
<p>
165165
Clear visual feedback shows completed steps, current step, and remaining
166166
steps, helping users understand their progress.
167167
</p>
168-
168+
169169
<h3>Customizable Icons</h3>
170170
<p>
171171
Each step can have a custom icon that represents its content or purpose,
172172
making the interface more intuitive and visually appealing.
173173
</p>
174-
174+
175175
<h3>Responsive Design</h3>
176176
<p>
177177
The stepper adapts to different screen sizes, maintaining usability

0 commit comments

Comments
 (0)