0.11.4 • Published 7 years ago

react-uikit-simple v0.11.4

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

React Uikit Simple

React Uikit Simple Compoment can use native attributes

Install CSS

import 'react-uikit-simple/dist/react-uikit-simple.css';

Compoment

Button

import { Button } from 'react-uikit-simple';

// default
<Button>Submit</Button>

// danger
<Button className="danger">Submit</Button>

// not allowed
<Button className="not-allowed">Submit</Button>

custom style

.ui-button.custom {
  background: #ddd;
  color: #000;

  &:not(.disabled):hover {
    background: color(#ccc blackness(25%));
  }

  &.push:hover {
    background: color(#ccc blackness(40%));
  }

  &.disabled {
  }
}

Textfield

import { TextField } from 'react-uikit-simple';

// Special className 'clear': clear default style
// disabled: Boolean
// onChange: value => void
// onChanged: value => void (Execution is delays invoking func until after wait 300 milliseconds)
// validate: value => boolean

<TextField disabled={true}
           value={this.state.value}
           onChange={val => this.setState({value: val})}
           validate={val => val.match(/^[0-9]*$/)}/>

Modules

SearchBox

import { SearchBox } from 'react-uikit-simple';

<SearchBox onChanged={val => console.log(val)}/>

Icon

MenuIcon

<MenuIcon color="#0f0" status={value => console.log(value)}/>

HOC

Responsive

LocationFinder

FadeIn

FixTop

0.11.4

7 years ago

0.11.3

7 years ago

0.11.2

7 years ago

0.11.1

7 years ago

0.11.0

7 years ago

0.10.5

7 years ago

0.10.4

7 years ago

0.10.3

7 years ago

0.10.2

7 years ago

0.10.1

7 years ago

0.10.0

7 years ago

0.9.0

7 years ago

0.8.9

7 years ago

0.8.8

7 years ago

0.8.7

7 years ago

0.8.6

7 years ago

0.8.5

7 years ago

0.8.3

7 years ago

0.8.2

7 years ago

0.8.1

7 years ago

0.8.0

7 years ago

0.7.1

7 years ago

0.7.0

7 years ago

0.6.5

7 years ago

0.6.3

7 years ago

0.6.1

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.5

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago