ForwardWidgets
Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…
Fully customizable, beautifully designed Timeline for React Native.
git clone https://github.com/kuraydev/react-native-beautiful-timeline.gitkuraydev/react-native-beautiful-timelineAdd the dependency:
npm i react-native-beautiful-timeline
"moment": ">= 2.24.0", "react-native-dash-2": ">= 0.2.3", "react-native-androw" : ">= 0.0.34", "@freakycoder/react-native-helpers": ">= 0.1.0",
import Timeline from "react-native-beautiful-timeline";
The data format MUST like this example.
[
{
"date": 1574342522000,
"data": [
{
"title": "React Native Beautiful Timeline",
"subtitle": "Sed at justo eros. Phasellus.",
"date": 1574342522000
},
{
"title": "React Native",
"subtitle": "Sed viverra. Nam sagittis.",
"date": 1574342501000
}
]
},
{
"date": 1574248261000,
"data": [
{
"title": "Timeline",
"subtitle": "Morbi magna orci, consequat in.",
"date": 1574248261000
}
]
},
{
"date": 1574125621000,
"data": [
{
"title": "Beauty Timeline",
"subtitle": "Nulla a eleifend urna. Morbi. Praesent.",
"date": 1574125621000
}
]
}
]
For each day & there would be limitless objects(Cards) for each day something like this example:
Each card comes from data array and each day comes from each object from main array.
{
"date": 1574342522000,
"data": [
{
"title": "React Native Beautiful Timeline",
"subtitle": "Sed at justo eros. Phasellus.",
"date": 1574342522000
},
{
"title": "React Native",
"subtitle": "Sed viverra. Nam sagittis.",
"date": 1574342501000
}
]
}
Please take a look at above data formatting. Library itself solves everything for you if the data format is correct.
<Timeline data={data} />
Thank you for this awesome inspiration. Designed by Kamil Janus
FreakyCoder, kurayogun@gmail.com
React Native Beautiful Timeline is available under the MIT license. See the LICENSE file for more info.
more like this
Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…
Firefox and Chrome extensions to prevent Google from making links ugly.
search projects, people, and tags