[](https://vshymanskyy.github.io/StandWithUkraine)
npm install @sbzen/re-cron
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.
src="https://badge.fury.io/js/%40sbzen%2Fre-cron.svg"
alt="npm version">
src="https://img.shields.io/npm/dm/%40sbzen%2Fre-cron.svg"
alt="npm downloads">
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.
npm install --save @sbzen/re-cron
`Display the cron component
Import and add the cron component into your jsx/tsx.`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 (
value={value}
onChange={setValue}/>
);
};
export default App;
``| Re Cron | React | Bootstrap CSS |
| ------------- | ------------- | -------------- |
| 0.0.1 | 16.x.x | 4.x.x |
| 2.0.0 | 17.x.x | 4.x.x |