mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
20 lines
769 B
TypeScript
20 lines
769 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-primary-solid" />
|
|
<div className={`-ml-1 h-1 w-14 ${step >= 2 ? "bg-primary-solid" : "bg-onboarding-background-100"}`} />
|
|
<div
|
|
className={` z-10 -ml-1 rounded-full ${
|
|
step >= 2 ? "h-3 w-3 bg-primary-solid" : " h-2 w-2 bg-onboarding-background-100"
|
|
}`}
|
|
/>
|
|
<div className={`-ml-1 h-1 w-14 ${step >= 3 ? "bg-primary-solid" : "bg-onboarding-background-100"}`} />
|
|
<div
|
|
className={`z-10 -ml-1 rounded-full ${
|
|
step >= 3 ? "h-3 w-3 bg-primary-solid" : "h-2 w-2 bg-onboarding-background-100"
|
|
}`}
|
|
/>
|
|
</div>
|
|
);
|