-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.d.ts
58 lines (46 loc) · 1.17 KB
/
index.d.ts
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import React from 'react';
import { StyleProp, ViewStyle,TextStyle } from 'react-native';
export interface LoadingModalProps {
/**
* Toggles the visibilty of modal
* @param bool modalVisible
*/
modalVisible: boolean;
/**
* Color of Activity Indicator (loading circle)
* @param string color
*/
color: string;
/**
* Text to display with the Loading....
* @param string title
*/
title?: string;
/**
* Font family of the loading text ( task or label )
* @param string fontFamily
*/
fontFamily?: string;
/**
* Dark mode of the loading modal, default is false
* @param boolean darkMode
*/
darkMode?: boolean;
/**
* Style of the loading modal container
* @param string fontFamily
*/
modalStyle?: StyleProp<ViewStyle>;
/**
* Style of the loading modal Text
* @param string fontFamily
*/
textStyle?: StyleProp<TextStyle>;
/**
* Size of the loading indicator
* @param string indicatorSize
*/
indicatorSize?: 'small' | 'large';
}
declare const LoadingModal: React.FC<LoadingModalProps>;
export default LoadingModal;