Skip to content

mkgrow/cron-react

Repository files navigation

✨ Online preview

https://mkgrow.github.io/cron-react/#/

📦 Install

npm install react-cron-cn
yarn add react-cron-cn

🔨 Usage

import React from 'react';
import Cron from 'cron-react';

const App = () => (
  <>
    <Cron defaultType='customize' value={value} onChange={setValue} />
  </>
);

⌨️ Development

clone locally:

$ git clone git@github.com:mkgrow/cron-react.git
$ cd cron-react
$ npm install
$ npm start

Open your browser and visit http://localhost:8000

🤖 Command introduction

Name Description Remarks
npm install Install dependencies -
npm start Project begining Document usage dumi, component development and documentation development together
npm test Component test -
npm run test:coverage Code coverage review -
npm run prettier Code prettier -
npm run build Component packaging Use father
npm run docs:build Document packaging -
npm run docs:deploy Document release The default is to use GitHub Pages
npm run deploy Document package release -

🔗 Links

About

使用React基于Antd开发的Cron组件,可以在项目中使用,也可以使用它生成cron表达式

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published