mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-06 13:43:59 -05:00
67 lines
1.3 KiB
TypeScript
67 lines
1.3 KiB
TypeScript
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
interface LoadingDefaultProps {
|
|
width?: string | number;
|
|
height?: string | number;
|
|
className?: string;
|
|
animationDuration?: number;
|
|
stroke?: string;
|
|
fill?: string;
|
|
}
|
|
|
|
|
|
//Spinners
|
|
export interface LoadingSpinnerProps extends LoadingDefaultProps {
|
|
trackClassName?: string;
|
|
trackStroke?: string;
|
|
trackFill?: string;
|
|
}
|
|
|
|
export interface RubberLoadingSpinnerProps extends LoadingSpinnerProps {
|
|
stretchDuration?: number;
|
|
}
|
|
|
|
|
|
//Dots
|
|
export interface LoadingDotsProps extends LoadingDefaultProps {
|
|
}
|
|
|
|
export interface CirclePulsingDotsProps {
|
|
width?: string | number;
|
|
height?: string | number;
|
|
className?: string;
|
|
rotationAnimationDuration?: number;
|
|
growingAnimationDuration?: number;
|
|
stroke?: string;
|
|
fill?: string;
|
|
}
|
|
|
|
export interface CircleSpinningDotProps extends LoadingDefaultProps {
|
|
trackClassName?: string;
|
|
trackStroke?: string;
|
|
trackFill?: string;
|
|
}
|
|
|
|
|
|
//Bars
|
|
export interface LoadingBarsProps extends LoadingDefaultProps {
|
|
}
|
|
|
|
|
|
//Blocks
|
|
export interface LoadingBlocksProps extends LoadingDefaultProps {
|
|
}
|
|
|
|
|
|
//Pulses
|
|
export interface LoadingPulseProps extends LoadingDefaultProps {
|
|
}
|
|
|
|
|
|
//Various
|
|
export interface LoadingVariousProps extends LoadingDefaultProps {
|
|
}
|
|
|
|
export interface LoadingWifiProps extends LoadingVariousProps {
|
|
fadeDuration?: number;
|
|
}
|