Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
bee-calendar
Advanced tools
react bee-calendar component for tinper-bee
some description...
先进行下载bee-calendar包
npm install --save bee-calendar
组件调用
import Calendar from 'bee-calendar';
ReactDOM.render(
<Calendar></Calendar>
, document.getElementById('target'));
<link rel="stylesheet" href="./node_modules/bee-calendar/build/Calendar.css">
import "./node_modules/bee-calendar/src/Calendar.scss"
//或是
import "./node_modules/bee-calendar/build/Calendar.css"
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
prefixCls | prefixCls of this component | String | |
value | 输入框当前的值 | moment | |
defaultValue | 输入框默认的值 | moment | |
defaultType | 默认渲染类型:日期/月份 | string | date |
type | 面板的类型:日期/月份 | string | |
onTypeChange | 面板切换的回调函数 | function(type) | |
fullscreen | 铺满显示 | bool | false |
monthCellRender | 月份显示回调函数 | function | |
dateCellRender | 日期显示回调函数 | function | |
monthCellContentRender | 月份内容渲染回调函数 | function | |
dateCellContentRender | 日期内容渲染回调函数 | function | |
onSelect | 日期选中回调函数 | Function(date: moment) |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-calendar
$ cd bee-calendar
$ npm install
$ npm run dev
FAQs
Calendar ui component for react
The npm package bee-calendar receives a total of 43 weekly downloads. As such, bee-calendar popularity was classified as not popular.
We found that bee-calendar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools oft miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.