@manta-eu/react/progress
Reference for @manta-eu/react/progress as it is on main.
Type Aliases
CircularProgressBaseProps
CircularProgressBaseProps =
object
Properties
className?
optionalclassName?:string
size?
optionalsize?:CircularProgressSize
value?
optionalvalue?:number
CircularProgressProps
CircularProgressProps =
CircularProgressBaseProps& ({isLoading?:false;trackClassName?:string; } | {isLoading:true;trackClassName:string; })
CircularProgressSize
CircularProgressSize = typeof
circularProgressSizes[number]
ProgressProps
ProgressProps =
ComponentProps<typeofProgressPrimitive.Root> &VariantPropsOf<typeofprogressConfig> &object
Type Declaration
isLoading?
optionalisLoading?:boolean
value?
optionalvalue?:number
Variables
circularProgressSizes
constcircularProgressSizes: readonly [14,20,24,28]
progressConfig
constprogressConfig:object
Type Declaration
base
base:
string="bg-muted relative w-full overflow-hidden rounded-full"
defaultVariants
defaultVariants:
object
defaultVariants.size
readonlysize:"base"="base"
variants
variants:
object
variants.size
size:
object
variants.size.base
base:
string="h-2"
variants.size.sm
sm:
string="h-1"
Functions
CircularProgress()
CircularProgress(
__namedParameters):Element
Parameters
__namedParameters
Returns
Element
Progress()
Progress(
__namedParameters):Element
Parameters
__namedParameters
Returns
Element