
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@hi-ui/button
Advanced tools
引导用户去触发操作的区域
用户需要执行有具体含义的动作、命令
连接页面之间、页面和弹窗、页面和浮层面板的跳转
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
type | 设置按钮类型 | string | 'primary' | 'line' | 'success' | 'danger' | 'default' | 'default' |
appearance | 设置按钮外观 | string | 'link' | 'button' | 'button' |
disabled | 设置按钮是否禁用 | boolean | true | false | false |
size | 设置按钮尺寸 | string | 'lg' | 'md' | 'sm' | 'default' |
icon | 设置按钮图标 | string | 详见 <Icon/> 组件 ︎ | - |
href | 设置按钮链接,设置后将用 a 标签渲染按钮 | string | ︎ | - |
target | 同 a 标签的 target 属性,仅在设置 href 后有效 | string | ︎'_self' | '_blank' | '_parent' | '_top' | - |
loading | 是否显示 loading | boolean | ︎- | false |
名称 | 说明 | 类型 | 参数 | 返回值 |
---|---|---|---|---|
onClick | 点击按钮时的回调 | (event: MouseEvent) => void | event: 鼠标事件对象 | - |
参数 | 变更类型 | 变更内容 | 解决的问题 |
---|---|---|---|
type | update | 删除'line',新增'secondary' | |
size | update | 变更为 'sm' | 'md' |
appearance | update | 删除'button',新增'filled'、'line' | |
shape | feature | 增加形状 'round' | 'square' |
FAQs
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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.