-
Notifications
You must be signed in to change notification settings - Fork 64
/
Copy pathdata.js
41 lines (40 loc) · 1014 Bytes
/
data.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
const data = [
{
title: 'Card 1',
background: '#0072bb',
text: `react-touch-carousel only handles the trouble parts, i.e.
- touch gestures parsing
- scroll cursor rounding and modding
- items padding and looping
- auto playing`
},
{
title: 'Card 2',
background: '#ff4c3b',
text: `It is left up to you to
- decide the carousel structure
- render each item in the carousel
- style everything
- add some fancy decorators like dots`
},
{
title: 'Card 3',
background: '#ffca18',
text: `Install it by
- npm install --save react-touch-carousel`
},
{
title: 'Card 4',
background: '#44c1c1',
text: `See some example code in the '/examples' dir at GitHub. And you can run and play with the code after cloning it, by
- npm install
- npm run dev
- open localhost:5000`
},
{
title: 'Card 5',
background: '#29c53c',
text: 'react-touch-carousel is released under MIT license'
}
]
export default data