+
Skip to content

andregaldino/react-timelines-custom

 
 

Repository files navigation

React Timelines

Demo

Install

# with npm
npm install react-timelines-update

# or with Yarn
yarn add react-timelines-update

Use

import Timeline from 'react-timelines-update'

const MyWidget = () => <Timeline {...props} />

export default MyWidget

Styling

Using Webpack

Using Webpack with CSS loader, add the following:

import 'react-timelines/lib/css/style.css'

Using Sass (SCSS)

Using Sass you can configure the timeline with variables:

$react-timelines-font-family: MaryAnn;
$react-timelines-sidebar-width: 320px;

@import '~/react-timelines-update/src/scss/style';

Without build tools

Create a CSS file with the contents of react-timelines-update/lib/css/style.css and include it in <head>

Development

npm install
npm run watch

This library is developed using VSCode - opening it in VSCode will recommend extensions, and enable linting and auto-formatting of code.

About

React Timelines Custom Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.7%
  • SCSS 14.3%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载