@freemen/countdowntime
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@freemen/countdowntime

TODO: 简单的练习 lerna 包管理 -- 倒计时

Usage

  时间 单位:s
  timeLimit?: number;
  结束触发事件
  onEnd?: (v?: any) => void;
  点击触发事件
  onClick?: (v?: any) => void;
  提示
  tip?: ReactNode;
  二次提示
  again?: ReactNode;
  传入一个字符串容器标签(默认span标签,一般与isRN一起使用)
  node?: any,
  判断是否是RN环境使用(默认false,一般与node一起使用)
  isRN?: boolean

const countdowntime = require('@freemen/countdowntime');

// TODO: DEMONSTRATE API

/@freemen/countdowntime/

    Package Sidebar

    Install

    npm i @freemen/countdowntime

    Weekly Downloads

    0

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    18.3 kB

    Total Files

    8

    Last publish

    Collaborators

    • sunluxy