-
Notifications
You must be signed in to change notification settings - Fork 180
/
Simple.js
32 lines (29 loc) · 863 Bytes
/
Simple.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
import { Image } from 'react-native';
import React from 'react';
import Onboarding from 'react-native-onboarding-swiper';
const Simple = () => (
<Onboarding
onDone={() => console.log('done')}
pages={[
{
backgroundColor: '#fff',
image: <Image source={require('./images/circle.png')} />,
title: 'Onboarding',
subtitle: 'Done with React Native Onboarding Swiper',
},
{
backgroundColor: '#fe6e58',
image: <Image source={require('./images/square.png')} />,
title: 'The Title',
subtitle: 'This is the subtitle that sumplements the title.',
},
{
backgroundColor: '#999',
image: <Image source={require('./images/triangle.png')} />,
title: 'Triangle',
subtitle: "Beautiful, isn't it?",
},
]}
/>
);
export default Simple;