forked from maxs15/react-native-spinkit
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathindex.d.ts
More file actions
32 lines (29 loc) · 710 Bytes
/
index.d.ts
File metadata and controls
32 lines (29 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
declare module 'react-native-spinkit' {
import React from 'react';
import { StyleProp, ViewStyle } from "react-native";
export type SpinnerType =
| 'CircleFlip'
| 'Bounce'
| 'Wave'
| 'WanderingCubes'
| 'Pulse'
| 'ChasingDots'
| 'ThreeBounce'
| 'Circle'
| '9CubeGrid'
| 'WordPress'
| 'FadingCircle'
| 'FadingCircleAlt'
| 'Arc'
| 'ArcAlt'
| 'Plane';
export type SpinnerProps = {
isVisible?: boolean;
color?: string;
size?: number;
type?: SpinnerType;
style?: StyleProp<ViewStyle>;
};
const Spinner: React.ComponentType<SpinnerProps>;
export default Spinner;
}