@inloco/orion

1.42.2 • Public • Published

Orion

In Loco's component library, based on React Semantic UI.

You can see and interact with the components here.

Usage

  1. Install via NPM or Yarn:
  npm install --save @inloco/orion
  #or
  yarn add @inloco/orion
  1. Add Material Icons Font to your HTML:
<link
  href="https://fonts.googleapis.com/icon?family=Material+Icons"
  rel="stylesheet"
/>
  1. Import Orion's CSS on your react app:
import '@inloco/orion/dist/orion.css'
  1. 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.

Readme

Keywords

none

Package Sidebar

Install

npm i @inloco/orion

Weekly Downloads

4

Version

1.42.2

License

ISC

Unpacked Size

1.44 MB

Total Files

195

Last publish

Collaborators

  • marcelr
  • gileno.oliveira
  • ottony
  • airtonsobral