-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.js
89 lines (85 loc) · 2.75 KB
/
index.js
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* @flow */
'use strict';
import Drawer from './Components/vendor/react-native-drawer';
import Header from './Components/Widgets/Header';
import Footer from './Components/Widgets/Footer';
import Title from './Components/Widgets/Title';
import Container from './Components/Widgets/Container';
import Content from './Components/Widgets/Content';
import Button from './Components/Widgets/Button';
import Text from './Components/Widgets/Text';
import Switch from './Components/Widgets/Switch';
import Picker from './Components/Widgets/Picker';
import List from './Components/Widgets/List';
import ListItem from './Components/Widgets/ListItem';
import CardItem from './Components/Widgets/CardItem';
import CardSwiper from './Components/Widgets/CardSwiper';
import DeckSwiper from './Components/Widgets/DeckSwiper';
import H1 from './Components/Widgets/H1';
import H2 from './Components/Widgets/H2';
import H3 from './Components/Widgets/H3';
import View from './Components/Widgets/View';
import Input from './Components/Widgets/Input';
import Textarea from './Components/Widgets/Textarea';
import InputGroup from './Components/Widgets/InputGroup';
import Icon from './Components/Widgets/Icon';
import Thumbnail from './Components/Widgets/Thumbnail';
import CheckBox from './Components/Widgets/Checkbox';
import Radio from './Components/Widgets/Radio';
import Card from './Components/Widgets/Card';
import Badge from './Components/Widgets/Badge';
import Spinner from './Components/Widgets/Spinner';
// import ProgressBar from './Components/Widgets/ProgressBar';
import { Col, Row, Grid } from "./Components/vendor/react-native-easy-grid";
import ScrollableTabView from './Components/Widgets/Tabs';
import TouchableOpacityScrollable from './Components/Widgets/TouchableOpacityScrollable';
import Platform from './Utils/platform';
//Suppress unknown prop warnings
const logFunction = console.error;
console.error = function() {
if (arguments[0]) {
const errorMessage = '' + arguments[0];
if (errorMessage.indexOf('Warning: Unknown prop') !== -1)
return;
}
logFunction.apply(console, arguments);
}
module.exports = {
Header: Header,
Footer: Footer,
Title: Title,
Container: Container,
Content: Content,
Button: Button,
Text: Text,
Switch: Switch,
Picker: Picker,
List: List,
ListItem: ListItem,
CardItem: CardItem,
H1: H1,
H2: H2,
H3: H3,
View: View,
Row: Row,
Col: Col,
Grid: Grid,
InputGroup: InputGroup,
Input: Input,
Textarea: Textarea,
Icon: Icon,
Thumbnail: Thumbnail,
Card: Card,
CardSwiper: CardSwiper,
DeckSwiper: DeckSwiper,
Badge: Badge,
Spinner: Spinner,
CheckBox: CheckBox,
Radio: Radio,
// ProgressBar: ProgressBar,
Drawer: Drawer,
Tabs : ScrollableTabView,
TouchableOpacityScrollable : TouchableOpacityScrollable,
//Utils
OSTheme: Platform
};