Coder Social home page Coder Social logo

react's Introduction

Stand With Ukraine

Quartz/Unix Cron Component - React

React cron widget built from the ground up using only Bootstrap 4 CSS.

Please check our demo & documentation and the list of issues to see all the things we are working on. Feel free to make comments there.

Quartz/Unix Cron Component - React

npm version npm downloads

Getting Started

This is an open source project that builds a cron builder component for React applications. It supports Quartz/Unix cron string formats for both input and output. Inspired by this non-react implementation.

Installation

You can use either the npm or yarn command-line tool to install packages.

npm install --save @sbzen/re-cron

Display the cron component

Import and add the cron component into your jsx/tsx.

import React, { useState } from 'react';
import { ReQuartzCron } from '@sbzen/re-cron';

const App = () => {
  const [value, setValue] = useState('2,0,4,3,1 0/1 3/2 ? * 4/5 *');

  return (
    <ReQuartzCron
      value={value}
      onChange={setValue}/>
  );
};
export default App;

Usage & Demo

Main source of API documentation and usage scenarios available here: https://recron.emptyui.com.

Compatibility

The only two required dependencies are React and cron-core. The Bootstrap CSS is optional as you can use this component with your own styling. Here is the versions compatibility list:

Re Cron React Bootstrap CSS
0.0.1 16.x.x 4.x.x
2.0.0 17.x.x 4.x.x

react's People

Contributors

bzenkosergey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.