1.2.2 • Published 2 years ago
@rsh-axelor/timer-builder
Licence
MIT
Version
1.2.2
Deps
19
Size
44 kB
Vulns
7
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
Timer builder
Timer builder to generate ISO & Cron expressions
Installation
Available as a npm package.
with npm
$ npm install @rsh-axelor/timer-builder
with pnpm
$ pnpm install @rsh-axelor/timer-builder
Usage
import React from 'react';
import ReactDOM from 'react-dom';
import { TimerBuilder } from "@rsh-axelor/timer-builder";
function App() {
return <TimerBuilder
value={value}
timerDefinitionType="cron"
onChange={handleChange} />;
}
ReactDOM.render(<App />, document.querySelector('#app'));