Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

timer-dialog

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timer-dialog

<!-- # double-date-picker 基于react的日历联动组件 # npm安装 ```js npm install double-date-picker ``` # 组件调用 ```js import DoubleDatePicker from "double-date-picker";

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

double-date-picker

基于react的时分秒时间选择器

npm安装

npm install timer-dialog

组件调用

import TimerDialog from "timer-dialog";

<TimerDialog
    title="时间选择器"
    selectTime={value}
    onChange={this.getDate}
    isShow={isShow}
    onClose={this.showTimer}
/>

组件配置props

名称类型必填默认值含义
selectTimestring当前时间默认选中项
titlestring选择时间整个时间选择器的标题
isShowboolfalse时间选择器的显示与隐藏
onChangefunc时间改变后的回调,回调参数(time)
onClosefunc取消按钮的回调函数,可用来关闭隐藏该组件

Keywords

FAQs

Package last updated on 26 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc