@orion-ui/react-hig

1.0.3-alpha.b1573875 • Public • Published

react-hig

React components for the HIG

Table of Contents

This project uses node and npm. Go check them out if you don't have them locally installed.

$ npm install --save @orion-ui/react-hig

Then with a module bundler like rollup or webpack, use as you would anything else:

// using ES6 modules
import { Button } from '@orion-ui/react-hig';

// Styles
import '@orion-ui/react-hig/react-hig.css';

// using CommonJS modules
var ReactHIG = require('@orion-ui/react-hig');
var Button = ReactHIG.Button;

The UMD build is also available on unpkg:

<script src="https://unpkg.com/@orion-ui/react-hig/lib/react-hig.umd.js"></script>

You can find the library on window.ReactHIG.

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from '@orion-ui/react-hig';

class App extends React.Component {
  render() {
    return (
      <div>
        <Button title="Hello World!" />
      </div>
    )
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @orion-ui/react-hig

Homepage

.

Weekly Downloads

0

Version

1.0.3-alpha.b1573875

License

Apache-2.0

Last publish

Collaborators

  • orion-ui