0.1.42 • Published 6 years ago
@merc/react-timeline v0.1.42
React Timeline
The easiest way to add responsive and customizable timelines to React apps.
View the documentation for detailed instructions and demos.
Installation
npm install @merc/react-timeline
# or
yarn add @merc/react-timelineUsage
import React from 'react';
import {
Timeline,
Events,
UrlButton,
ImageEvent,
TextEvent,
YouTubeEvent,
} from '@merc/react-timeline';
export default function App() {
return (
<Timeline>
<Events>
<TextEvent date="1/1/19" text="**Markdown** is *supported*" />
<ImageEvent
date="4/13/19"
text="You can embed images..."
src="https://res.cloudinary.com/dovoq8jou/image/upload/v1564772194/jellyfish.jpg"
alt="jellyfish swimming"
credit="Photo by [@tavi004](https://unsplash.com/@tavi004)"
>
<div>
<UrlButton href="https://unsplash.com/search/photos/undersea">
View more undersea photos
</UrlButton>
</div>
</ImageEvent>
<YouTubeEvent
date="6/18/19"
id="6UnRHtwHGSE"
name="General Tso's Chicken recipe"
text="... and YouTube videos!"
/>
</Events>
</Timeline>
);
}0.1.42
6 years ago
0.1.41
6 years ago
0.1.40
6 years ago
0.1.38
6 years ago
0.1.37
6 years ago
0.1.36
6 years ago
0.1.34
6 years ago
0.1.33
6 years ago
0.1.32
6 years ago
0.1.31
6 years ago
0.1.30
6 years ago
0.1.29
6 years ago
0.1.28
6 years ago
0.1.27
6 years ago
0.1.26
6 years ago
0.1.25
6 years ago
0.1.24
6 years ago
0.1.23
6 years ago
0.1.22
6 years ago
0.1.21
7 years ago
0.1.20
7 years ago
0.1.19
7 years ago
0.1.18
7 years ago
0.1.17
7 years ago
0.1.16
7 years ago
0.1.15
7 years ago
0.1.14
7 years ago
0.1.13
7 years ago
0.1.12
7 years ago
0.1.11
7 years ago
0.1.10
7 years ago
0.1.9
7 years ago
0.1.8
7 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago