Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.02 KB

File metadata and controls

41 lines (31 loc) · 1.02 KB

react-typescript-rrule-generator

This is ReactJS project based on Create React Library and using Bootstrap styling. It's built with the help of a great rrule.js library. It also uses: -lodash -date-fns -@material-ui/pickers.

NPM JavaScript Style Guide

Install

npm install --save react-typescript-rrule-generator

Usage

import React, { Component } from 'react'

import RRuleGeneratorTS, { translations } from 'react-typescript-rrule-generator'
import 'react-typescript-rrule-generator/dist/index.css'

class Example extends Component {
  render() {
    return 
    <RRuleGeneratorTS 
      onChange={(rrule) => console.log(rrule)}
      config={{
        hideStart: false,
      }}
      translations={translations.english}
    />
  }
}

License

MIT © JD Bots