react-cron-plus
v1.0.0
Published
react antd corn表达式
Downloads
3
Readme
react-cron-plus
react antd corn表达式
Development
npm install
npm start
open http://localhost:8000
Install
Usage
import React from 'react';
import CronPlus from 'react-cron-plus';
export default () => (
<>
<CronPlus result="normal"></CronPlus>
</>
);
🔥 API
| Prop | Description | Type | Accepted Values | Default | | ----------- | --------------------------- | --------------------- | --------------- | --------- | | value | 外部传入的cron解析式 | string | | | | language | 国际化 | string | zhCN / en | zhCN | | result | cron 结果样式 | string | boolean | normal / simple/ false | false| | onOk | 确定方法 | | | | | onCancel | 取消方法 | | | |
LICENSE
MIT