Magna-React is a React library that implements UI components according to the Atomic design specification (requires VPN) with some Magnetic re-skinning Magnetic Design - Figma Developers can enjoy the following features:
Magna-React is provided as an npm package from GitHub packages. To configure for use:
Generate new token
read:packages
scopeClick Generate
Copy the token
Add the repository to your ~/.npmrc
file:
@advthreat:registry=https://npm.pkg.github.com
~/.npmrc
file, replacing TOKEN with your new token://npm.pkg.github.com/:_authToken=TOKEN
npm install @cisco-sbg-ui/magna-react
Remove @cisco-sbg-ui/atomic-react
from package.json
Swap imports/babel config from atomic-react to magna-react
Feel free to reach out to Robert Harris (roberha2) via Webex Teams to discuss contributions.
npm ci
npm run dev