
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@pinwheel/react-modal
Advanced tools
React package for Pinwheel modal
npm install --save @pinwheel/react-modal
import PinwheelModal from '@pinwheel/react-modal'
const App = () => {
return <PinwheelModal
open={true}
linkToken={token}
onEvent={console.log}
/>
}
All available React props are listed here.
Please consult our docs for more information.
You may want to explore the usage of the modal locally.
Start by going to the developer dashboard to create a token. Copy the token string. Then
# Build the @pinwheel/react-modal package
npm i
npm run build
# Run the example app
cd example
npm i
npm start
# Go to localhost:9000?token=<PASTE YOUR GENERATED TOKEN HERE>
MIT © Pinwheel React Modal is available under the MIT license. See the LICENSE file for more info.
FAQs
React package for Pinwheel modal
The npm package @pinwheel/react-modal receives a total of 10,086 weekly downloads. As such, @pinwheel/react-modal popularity was classified as popular.
We found that @pinwheel/react-modal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 18 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.