@payfit/unity-components
Version:
46 lines (45 loc) • 1.1 kB
TypeScript
import { default as React } from 'react';
import { VariantProps } from '@payfit/unity-themes';
declare const progressBar: import('tailwind-variants').TVReturnType<{
isFull: {
true: {
meter: string;
};
false: {
meter: string;
};
};
}, {
base: string[];
meter: string[];
}, undefined, {
isFull: {
true: {
meter: string;
};
false: {
meter: string;
};
};
}, {
base: string[];
meter: string[];
}, import('tailwind-variants').TVReturnType<{
isFull: {
true: {
meter: string;
};
false: {
meter: string;
};
};
}, {
base: string[];
meter: string[];
}, undefined, unknown, unknown, undefined>>;
interface ProgressBarProps extends Omit<VariantProps<typeof progressBar>, 'isFull'> {
/** the value of the progression */
value: number;
}
declare const FunnelProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
export { FunnelProgressBar };