Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
nuke-icon
Advanced tools
Icon 组件 是对 Image 组件的一个封装,预置了4个尺寸的图片,方便我们在开发中使用方形的图片。
考虑到使用便捷性,还额外加入了 Iconfont 图标的支持, 查看 demo 可以找到所有内置 icon。
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
type | 新增 type 字段,标识是 iconfont 还是图片,可选 image iconfont | string | 'image' |
size | type = image 时有效,定义了 icon 的尺寸:'xs', 'small', 'medium', 'large' | string | 'medium' |
onPress | 当传入 name 时失效,Press事件 | Function | 无 |
src | 图片链接地址或 iconfont url | string | 无 |
name | iconfont name 值 | string | 无 |
FAQs
The npm package nuke-icon receives a total of 25 weekly downloads. As such, nuke-icon popularity was classified as not popular.
We found that nuke-icon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
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.