JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22
  • Score
    100M100P100Q50017F
  • License MIT

Primary Button component using Atomic Design principles

Package Exports

  • atomic-design-button
  • atomic-design-button/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (atomic-design-button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Atomic Button

React button based in Atomic Design.

Steps

  1. Create component - PrimaryButton.
  2. Modify Index.ts exporting that new component.
  3. Modify Package.json adding: name, version, description, main, types, files and scripts:build.
  4. Modify tsconfig.json (just copy file content)
  5. Run following commands: Installation:
npm install
Build:

npm run build Login to npmjs.com:

npm login
Publish package:

npm publish --access public

  1. Check the version and code tab in your library page: https://www.npmjs.com/

Install

npm install atomic-design-button