JSPM

  • Created
  • Published
  • 0
  • Score
    100M100P100Q67592F
  • License MIT

icon component for real system

Package Exports

  • @real-system/icon
  • @real-system/icon/lib/index.js
  • @real-system/icon/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/icon) 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/icon

Real System's Icon component.

npm version

Installation

Installation

# install peer dependencies

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

# install icon

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

Code Example

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

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