Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@acodez/modal
Advanced tools
React modal component.
npm install @acodez/modal
Property | Type | Required | Description |
---|---|---|---|
actionBtnText | string | no | Action button text, default - show modal |
cancelBtnText | string | no | Cancel button text, default - Cancel |
saveBtnText | string | no | Save button text, button will be hidden if no value entered |
saveBtnFunction | string | no | save button function |
showCloseBtn | string | no | show close button on modal or not |
disableBgClose | string | no | if you want to limit closing of modal to button click |
import Modal from "@acodez/modal";
Basic
<Modal>
<p>
Modal content here.
</p>
</Modal>
Advanced
<Modal disableBgClose showCloseBtn saveBtnFunction={saveFunction} actionBtnText="open modal" saveBtnText="Save" cancelBtnText="Cancel" modalHeading="This is modal heading">
<p>
To close this modal, press the cancel button below or use the Escape key on desktop.
</p>
</Modal>
FAQs
react modal component
We found that @acodez/modal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.