JSPM

  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q80047F
  • License MIT

Real System Button component

Package Exports

  • @real-system/button
  • @real-system/button/lib/index.js
  • @real-system/button/lib/index.mjs

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

Real System's Button component.

npm version

Installation

# install peer dependencies

# npm
$ npm install @real-system/styled-library @real-system/elements-primitive @real-system/utils-library react react-dom
# yarn
$ yarn add @real-system/styled-library @real-system/elements-primitive @real-system/utils-library react react-dom

# install button

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

Code Example

import { RealSystemProvider } from '@real-system/styled-library';
import { Button } from '@real-system/button';

const MyButton = () => {
  return (
    <Button colorScheme="purple" size="lg">
      Button
    </Button>
  );
};