forked from adamjmcgrath/react-native-simple-auth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
21 lines (18 loc) · 772 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
* Login with various social API's.
* Including: Google, Twitter, Facebook, Instagram, Tumblr & LinkedIn.
*/
import { __ } from 'ramda';
import login from './lib/login';
import * as platform from './lib/platforms/react-native';
import * as _google from './lib/providers/google';
import * as _facebook from './lib/providers/facebook';
import * as _twitter from './lib/providers/twitter';
import * as _tumblr from './lib/providers/tumblr';
import * as _line from './lib/providers/line';
export const google = login(_google, platform);
export const facebook = login(_facebook, platform);
export const twitter = login(_twitter, platform);
export const tumblr = login(_tumblr, platform);
export const line = login(_line, platform);
export default login(__, platform);