1.0.4 • Published 3 years ago

badenweiler v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

badenweiler

A simple React component library

NPM JavaScript Style Guide

Install

npm install --save badenweiler

Badenweiler library

The Badenweiler library package consists of the following React components:

  • MagicTimeline - A horizontal timeline component that accepts timeline events as props

Usage

import React from 'react'

import { MagicTimeline } from 'badenweiler'

function App() {
  const example = 'Timeline title';
  const styles = { height: '400px', width: '600px' }
  return <MagicTimeline title={example} customStyles={styles} />
  }
}

Other commands

Unit tests

npm run test:unit -- -u

Link

Link can be used to run the library locally before publishing. From badenweiler project root:

npm run build

npm link

From local test project:

npm link badenweiler

Publish to npmjs

The following shell commands are required for publishing the prjoect to npmjs

npm login

npm publish

License

MIT © thanders

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago