mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-06 21:53:57 -05:00
Most simple components created
This commit is contained in:
65
lib/types/Loading.d.ts
vendored
Normal file
65
lib/types/Loading.d.ts
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user