0.1.6 • Published 5 years ago

react-rui v0.1.6

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

react-rui

A collection of UI components by Rob for Rob. Use at your own peril.

NPM JavaScript Style Guide

Install

npm install --save react-rui

Usage

import React, { Component } from 'react'

import RUI from 'react-rui'

class Example extends Component {
  render () {
    return (
	  <RUI.DropdownButton value={this.state.someOption} onChange={(val) => {this.setState({someOption:val});}}>
		<RUI.DropdownButton.Option value='alpha'>Alpha</RUI.DropdownButton.Option>
		<RUI.DropdownButton.Option value='beta'>Beta</RUI.DropdownButton.Option>
	  </RUI.DropdownButton>
      <RUI.Button onAction={() => {this.setState({someValue:true});}}>Button</RUI.Button>
    )
  }
}

License

MIT © RobMayer

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

6 years ago

1.0.0

6 years ago