2.0.0 • Published 5 years ago

react-native-timeline-feed v2.0.0

Weekly downloads
154
License
MIT
Repository
github
Last release
5 years ago

React Native Timeline feed

Highly customizable Timeline component for React Native (Android and iOS) and works with Expo.

code style: prettier NPM Version NPM Downloads

Migrating from react-native-timeline-listview

If you're coming from react-native-listview and simply want to use a FlatList instead, then use the latest v1.x.x package instead. It'll be the path of least resistance.

Demo

A demo can be found on expo.

Getting Started

yarn add react-native-timeline-feed or your favorite way...

You'll need the following imports

import Timeline from 'react-native-timeline-feed';

// only needed if you're going to select a non-default preset
import { Preset } from 'react-native-timeline-feed/lib/Types';

Minimum

<Timeline data={data} />

or one of the presets

<Timeline
  data={data}
  preset={Preset.SingleColumnRight} />

Configuration

Note. Color/Width specificity is as follows (highest priority to lowest): ItemProps -> TimelineProps -> defaults.

<Timeline /> Component API

Other Component APIs

Other Examples

Custom Setup

2.0.0

5 years ago

2.0.0-alpha.9

5 years ago

2.0.0-alpha.8

5 years ago

2.0.0-alpha.5

5 years ago

2.0.0-alpha.4

5 years ago

2.0.0-alpha.3

5 years ago

2.0.0-alpha.2

5 years ago

2.0.0-alpha.1

5 years ago

2.0.0-alpha.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago