🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

react-native-enhanced-timeline

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-enhanced-timeline

Timeline component for React Native

1.0.6-rc.19
latest
Source
npm
Version published
Weekly downloads
122
-42.18%
Maintainers
1
Weekly downloads
 
Created
Source

Library logo

npm bundle size NPM PRs Welcome

react-native-enhanced-timeline is a fork of react-native-timeline-flatlist with some tweaks (functional components instead of classes & support for animations)

🔧 Installation

// Using yarn
yarn add react-native-enhanced-timeline --save

// Using npm
npm install react-native-enhanced-timeline --save

Usage

import { Timeline } from "react-native-enhanced-timeline";

export const App = () => {
  return (
    <Timeline
      data={[
        {
          id: 1,
          time: "09:00",
          title: "Event 1",
          description: "Event 1 Description",
        },
        {
          id: 2,
          time: "10:45",
          title: "Event 2",
          description: "Event 2 Description",
        },
        {
          id: 3,
          time: "12:00",
          title: "Event 3",
          description: "Event 3 Description",
        },
        {
          id: 4,
          time: "14:00",
          title: "Event 4",
          description: "Event 4 Description",
        },
        {
          id: 5,
          time: "16:30",
          title: "Event 5",
          description: "Event 5 Description",
        },
      ]}
    />
  )
}

📦 Peer dependencies

react-native-svg (only guaranteed to work with latest version)

📃 Documentation

To be added, feel free to contribute!

🛣 Roadmap

  • Tests
  • Storybook
  • Simplify codebase
  • Documentation
  • Examples / Recipes for ease-of-use
  • Demo app

📝 License

MIT

Keywords

react-native

FAQs

Package last updated on 06 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts