
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
greatjoy-hooks
Advanced tools
一个基于 antd-mobile 的增强型 React 模态框组件,支持组件式和指令式两种使用方式。
npm install greatjoy-modal antd-mobile
重要:必须引入样式文件才能正常显示!
// 在你的应用入口文件中引入样式
import "greatjoy-modal/dist/index.css";
import GreatJoyModal from "greatjoy-modal";
key | 是否必填 | 类型 | 描述 |
---|---|---|---|
content | 否 | string | React.ReactNode | 模态框内容 |
confirmText | 否 | string | 确认按钮文本,默认为"确认",非 true 时不展示确认按钮 |
cancelText | 否 | string | 取消按钮文本,默认为"取消",非 true 时不展示取消按钮 |
onConfirm | 否 | () => void | 确认按钮点击回调函数 |
onCancel | 否 | () => void | 取消按钮点击回调函数 |
otherProps | - | - | 其他传递给Modal组件的属性 |
其他参数详见 https://ant-design-mobile.antgroup.com/zh/components/modal#modal
key | 是否必填 | 类型 | 描述 |
---|---|---|---|
icon | 否 | React.ReactNode | Icon图标参考:https://ant-design-mobile.antgroup.com/zh/components/icon |
confirmText | 否 | string | 确认按钮文案,非 true 时不展示确认按钮 |
cancelText | 否 | string | 取消按钮文案,非 true 时不展示取消按钮 |
onConfirm | 否 | () => Promise | 点击确认事件,reslove 时,会自动关闭弹窗 |
onCancel | 否 | () => void | 点击取消事件 |
其他参数详见 https://ant-design-mobile.antgroup.com/zh/components/modal#modalshow
FAQs
A React input component based on antd-mobile with enhanced features
The npm package greatjoy-hooks receives a total of 13 weekly downloads. As such, greatjoy-hooks popularity was classified as not popular.
We found that greatjoy-hooks demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.