@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
37 lines (36 loc) • 673 B
JavaScript
import { c as s } from "../../index-D29mdTf5.js";
const a = s([
"h-2",
"rounded-full",
"overflow-hidden",
"mt-4",
"bg-zinc-200"
]), t = s(
["h-full", "bg-[length:100%_100%]", "animate-gradient-move"],
{
variants: {
status: {
success: "",
progress: "",
error: ""
}
},
compoundVariants: [
{
status: "progress",
class: ["bg-linear-to-r from-[#81e2b4] to-kubefirst-primary"]
},
{
status: "success",
class: ["bg-[#81E2B4]"]
}
],
defaultVariants: {
status: "success"
}
}
);
export {
t as progressBarProgress,
a as progressBarVariants
};