Package Exports
- demo_button_component
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 (demo_button_component) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Demo Button Component
This is a demo button package to explain how to create and publish components to NPM
Installation
npm install --save demo_button_componentUsage
import {BasicButton, OutlineButton} from 'demo_button_component';<BasicButton buttonSize = "btn--wide" buttonColor = "red">Hello, User</BasicButton><OutlineButton buttonSize = "btn--wide" buttonBorderColor = "red-border">Hello, User</OutlineButton>