Package Exports
- @real-system/spinner
- @real-system/spinner/lib/index.esm.js
- @real-system/spinner/lib/index.js
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/spinner) 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/spinner
Real System's Spinner components.
Usage
# 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 spinner
# npm
$ npm install @real-system/spinner
# yarn
$ yarn add @real-system/spinnerCode Example
import { ThemeProvider } from '@real-system/styled-library';
import { Spinner } from '@real-system/spinner';
const MyComponent = () => {
return (
<ThemeProvider>
<Spinner />
</ThemeProvider>
)
}