react-native-timeline-feed
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i react-native-timeline-feed

Weekly Downloads

58

Version

2.0.0

License

MIT

Unpacked Size

30.2 kB

Total Files

25

Last publish

Collaborators

  • johandutoit