0.4.0 • Published 2 years ago

@hods/timeline v0.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

HODS - Timeline

A timeline of events

Using this package

First install the package into your project:

npm install -S @hods/timeline

Then use it in your code as follows:

import React, { createElement as h } from 'react';
import Timeline from '@hods/timeline';

export const MyComponent = props => (
  <Timeline items={[
    {
      action: 'Issue under investigation',
      by: 'Douglas Pollock',
      date: '15 Mar 2021 10:04am',
      description: 'This is a description of the event. This field accepts unformatted text only'
    },
    {
      action: 'Issue raised on GitHub',
      date: '25 Jan 2021 9:35am',
      description: 'This is a description of the event.'
    }
  ]} />
);

export default MyComponent;

Working on this package

Before working on this package you must install its dependencies using the following command:

pnpm install

Testing

npm test

Building

npm run build

Clean-up

npm run clean
0.4.0

2 years ago

0.3.6

3 years ago

0.3.7

3 years ago

0.3.0

3 years ago

0.3.5

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.20

4 years ago

0.1.19

4 years ago

0.1.17

4 years ago

0.1.18

4 years ago

0.1.16

4 years ago

0.1.15

4 years ago

0.1.14

4 years ago

0.1.13

4 years ago