react-cron-generator 1.3.12 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,10 +6,6 @@ Simple react component to generate cron expression
6
6
 
7
7
  Package helps to build linux scheduler cron expression.
8
8
 
9
- Make sure you have include bootstrap(4.x) in your project.
10
-
11
- For old bootstrap(3.x) version support, please use cron generator version "1.2.12"
12
-
13
9
 
14
10
  ```
15
11
  data = '* * * * * * *'
@@ -89,22 +85,11 @@ const options = {
89
85
 
90
86
  ```
91
87
 
92
- ## Ref
93
-
94
- Added `ref` to the component now you can access state and functions using ref.
95
-
96
- add the new prop ` onRef={ref => (this.cronGen = ref)} `
97
-
98
- ```
99
- <Cron
100
- onRef={ref => (this.cronGen = ref)}
101
- onChange={(e)=> {this.setState({value:e}); console.log(e)}}
102
- value={this.state.value}
103
- showResultText={true}
104
- showResultCron={true}
105
- />
106
- ```
107
88
 
89
+ ## Release notes 2.x.x
90
+ 1. Build Procedure updated
91
+ 2. Updated to latest react(18)
92
+ 3. Migrated to hooks and typescript
108
93
 
109
94
  [Sojin Antony](https://github.com/sojinantony01)
110
95