JSPM

  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q80298F
  • License MIT

Real System Button component

Package Exports

  • @real-system/button

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 (@real-system/button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@real-system/button

Usage

# install peer dependencies

# npm
$ npm install @real-system/styling @real-system/box @real-system/utils react react-dom
# yarn
$ yarn add @real-system/styling @real-system/box @real-system/utils react react-dom

# install icon

# npm
$ npm install @real-system/icon
# yarn
$ yarn add @real-system/icon

Code Example

import { ThemeProvider } from '@real-system/theme`;
import { Button } from '@real-system/button`;

const MyComponent = () => {
  return (
    <ThemeProvider>
      <Button>Button</Button>
    </ThemeProvider>
  );
};