Skip to content

Commit

Permalink
Replaced all the css into tailwind css on ProgressIndicator component (
Browse files Browse the repository at this point in the history
…#1765)

Co-authored-by: Kyle Holmberg <kylemh.email@gmail.com>
  • Loading branch information
subhajit20 and kylemh authored Nov 12, 2023
1 parent b5df44a commit 2b5ad41
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports[`UpdateProfileForm should render with required props 1`] = `
Professional Details
</h3>
<div
className="ProgressIndicator"
className="flex flex-col my-6 mx-0 items-center"
>
<label
htmlFor="steps-indicator"
Expand Down
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 my-6 mx-0 items-center">
<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 my-6 mx-0 items-center"
>
<label
htmlFor="steps-indicator"
Expand Down

2 comments on commit 2b5ad41

@vercel
Copy link

@vercel vercel bot commented on 2b5ad41 Nov 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 2b5ad41 Nov 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.