Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced all the css into tailwind css on ProgressIndicator component #1765

Merged
merged 6 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions components/ProgressIndicator/ProgressIndicator.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { number } from 'prop-types';
import styles from './ProgressIndicator.module.css';

export const developmentErrors = {
currentStepTooLow: '"currentStep" cannot be negative',
Expand Down Expand Up @@ -31,7 +30,7 @@ export default function ProgressIndicator({ stepNumber, totalSteps }) {
const percentageCompleted = (stepNumber / totalSteps) * 100;

return (
<div className={styles.ProgressIndicator}>
<div className="flex flex-col text-center my-6 mx-0 items-center">
subhajit20 marked this conversation as resolved.
Show resolved Hide resolved
<label htmlFor="steps-indicator">
{stepNumber}/{totalSteps} Complete
</label>
Expand Down
6 changes: 0 additions & 6 deletions components/ProgressIndicator/ProgressIndicator.module.css

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`ProgressIndicator should render with required props 1`] = `
<div
className="ProgressIndicator"
className="flex flex-col text-center my-6 mx-0 items-center"
>
<label
htmlFor="steps-indicator"
Expand Down