1.0.0 • Published 4 years ago

@tuyeye/cron v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

cron

🏆 自己項目中使用的Cron生成組件,網上的不好用,索性自己造了個 😁 基於 antd 的 ui 實現的 react 輕量級組件,表單組件般的體驗~

📦 Install

npm install @tuyeye/cron
yarn add @tuyeye/cron

🔨 Usage

import Cron from '@tuyeye/cron';

ReactDOM.render(<Cron setValue={ value => console.log(value)} showResult/>, mountNode);

🏆 Props

屬性類型描述默認值
setValue(value:string)=>void值改變的回調函數-
showResultboolean是否要在組件下方顯示結果false