@incognia/orion
v6.11.1
Published
Semantic-UI Toolkit - Incognia theme
Downloads
24
Maintainers
Keywords
Readme
Orion
Incognia'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 @incognia/orion
#or
yarn add @incognia/orion
- Add Material Icons Font to your HTML:
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined"
rel="stylesheet"
/>
- Import Orion's CSS on your react app:
import '@incognia/orion/dist/orion.css'
- Import and use Orion's components as needed:
import { Dropdown } from '@incognia/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
Watch (Hot reloading)
To start the project:
yarn start
Release
To release, follow these steps:
- Run
yarn publish
- Select the version you wish to publish.
- You're done!