1.7.0 • Published 5 years ago

ui.rhamb.io v1.7.0

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
5 years ago

ui.rhamb.io

Open source UI JSS-based react components library without any transpilation. Originally created for rhamb.io project.

NPM version CircleCI

Installation

To install library you should have installed npm and node at least 9 version. Go to your project directory then run:

npm install --save ui.rhamb.io

Note: This UI library NOT transpiled by default, so you must have own transpile processes

Usage

Let's see how to use ui.rhamb.io with simple example:

// We want to use Button component

import ReactDOM from 'react-dom';
import { Button } from 'ui.rhamb.io';

const handler = () => alert('Hello world');

const App = () => (
  <div>
    <h1>Hello world app</h1>
    <Button onClick={handler}>Click me</Button>
  </div>
);

// Real DOM-node in document where script will be executed

const targetNode = document.getElementById('root');

ReactDOM.render(<App />, targetNode);
1.7.0

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago