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.
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/iconCode Example
import { RealSystemProvider } from '@real-system/styled-library';
import { Button } from '@real-system/icon';
const MyComponent = () => {
return (
<RealSystemProvider>
<Button>Button</Button>
</RealSystemProvider>
);
};