Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
timer-dialog
Advanced tools
<!-- # react-component-zw 中位科技基于react的ui组件库,其中包括: * 日历联动组件(double-date-picker) * 时分秒时间选择器(timer-dialog) -->
基于react的时分秒时间选择器
npm install timer-dialog
import TimerDialog from "timer-dialog";
<TimerDialog
title="时间选择器"
selectTime={value}
onChange={this.getDate}
isShow={isShow}
onClose={this.showTimer}
/>
名称 | 类型 | 必填 | 默认值 | 含义 |
---|---|---|---|---|
selectTime | string(hh:mm:ss) | 否 | 当前时间 | 默认选中项 |
title | string | 否 | 选择时间 | 整个时间选择器的标题 |
isShow | bool | 否 | false | 时间选择器的显示与隐藏 |
onChange | func | 否 | 无 | 时间改变后的回调,回调参数(time) |
onClose | func | 否 | 无 | 取消按钮的回调函数,可用来关闭隐藏该组件 |
className | string | 否 | 无 | 设置组件样式 |
FAQs
<!-- # react-component-zw 中位科技基于react的ui组件库,其中包括: * 日历联动组件(double-date-picker) * 时分秒时间选择器(timer-dialog) -->
We found that timer-dialog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.