commonux2
Version:
A collection of styled components for use in ABB projects, designed for React and Next.js. It features TypeScript support, integrates Lucide icons, and is built on Radix primitives with Tailwind CSS.
12 lines (11 loc) • 714 B
TypeScript
import * as React from "react";
import * as ProgressPrimitive from "@radix-ui/react-progress";
import { type VariantProps } from "class-variance-authority";
export declare const progressVariants: (props?: ({
color?: "descructive" | "primary" | "warn" | "secondary" | null | undefined;
size?: "sm" | "md" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export interface ProgressCustomProps extends Omit<React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, "color">, VariantProps<typeof progressVariants> {
}
declare const Progress: React.ForwardRefExoticComponent<ProgressCustomProps & React.RefAttributes<HTMLDivElement>>;
export { Progress };