mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
5b0066140f
* chore: format all files in the project * fix: removing @types/react from dependencies * fix: adding prettier and eslint config * chore: format files * fix: upgrading turbo version * chore: ignoring warnings and adding todos * fix: updated the type of bubble menu item in the document editor * chore: format files --------- Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
20 lines
794 B
TypeScript
20 lines
794 B
TypeScript
import React from "react";
|
|
|
|
export const OnboardingStepIndicator = ({ step }: { step: number }) => (
|
|
<div className="flex items-center justify-center">
|
|
<div className="z-10 h-3 w-3 rounded-full bg-custom-primary-100" />
|
|
<div className={`-ml-1 h-1 w-14 ${step >= 2 ? "bg-custom-primary-100" : "bg-onboarding-background-100"}`} />
|
|
<div
|
|
className={` z-10 -ml-1 rounded-full ${
|
|
step >= 2 ? "h-3 w-3 bg-custom-primary-100" : " h-2 w-2 bg-onboarding-background-100"
|
|
}`}
|
|
/>
|
|
<div className={`-ml-1 h-1 w-14 ${step >= 3 ? "bg-custom-primary-100" : "bg-onboarding-background-100"}`} />
|
|
<div
|
|
className={`z-10 -ml-1 rounded-full ${
|
|
step >= 3 ? "h-3 w-3 bg-custom-primary-100" : "h-2 w-2 bg-onboarding-background-100"
|
|
}`}
|
|
/>
|
|
</div>
|
|
);
|