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/iconCode Example
import { ThemeProvider } from '@real-system/theme`;
import { Button } from '@real-system/button`;
const MyComponent = () => {
return (
<ThemeProvider>
<Button>Button</Button>
</ThemeProvider>
);
};