@inloco/orion
v1.42.2
Published
Semantic-UI Toolkit - In Loco theme
Downloads
22
Keywords
Readme
Orion
In Loco's component library, based on React Semantic UI.
You can see and interact with the components here.
Usage
- Install via NPM or Yarn:
npm install --save @inloco/orion
#or
yarn add @inloco/orion
- Add Material Icons Font to your HTML:
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
- Import Orion's CSS on your react app:
import '@inloco/orion/dist/orion.css'
- Import and use Orion's components as needed:
import { Button, Dropdown } from '@inloco/orion'
Testing
Apps using Orion will have failing Jest tests due to canvas usage, which is not supported by default.
To fix this, just include the jest-canvas-mock
dev dependency and follow its
setup instructions.
Contributing
Since Orion is part of a monorepo, follow Monorepo README for instructions.