Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
npm install piros-ui
###引入样式
import 'piros-ui/style.css';
###日历选择组件
import React from 'react';
import {RangeDate} from 'piros-ui';
import 'piros-ui/style.css';
function onChange(startDate,endDate) {
console.log(startDate,endDate)
}
function onSelected(year,month,day) {
console.log(year,month,day)
}
var dates = {
startDate: "2016/11/3",//开始时间
endDate: "2016/12/4",//结束时间
isShowPicker: true //默认显示
}
render(
<div>
<RangeDate {...dates} onChange={onChange} onSelected={onSelected}/>
, dmountNode);
###select选择器
import React from 'react';
import {Select} from 'piros-ui';
import 'piros-ui/style.css';
function onChange(value,text){
console.log(value,text);
}
render(
<div>
<Select defaultValve="青岛市口腔医院" onChange={onChange}>
<Option value="青岛市口腔医院">青岛市口腔医院</Option>
<Option value="青岛市胶州中心医院">青岛市胶州中心医院</Option>
<Option value="青岛海慈医院(未开通)" disabled>青岛海慈医院(未开通)</Option>
<Option value="平度市人民医院">平度市人民医院</Option>
</Select>
<Select defaultValve="青岛市口腔医院" disabled onChange={onChange}>
<Option value="青岛市口腔医院">青岛市口腔医院</Option>
<Option value="青岛海慈医院(未开通)" disabled>青岛海慈医院(未开通)</Option>
</Select>
</div>
, dmountNode);
FAQs
yuantu piros-ui for react
The npm package piros-ui receives a total of 11 weekly downloads. As such, piros-ui popularity was classified as not popular.
We found that piros-ui 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.