2.8.2 • Published 9 years ago
weflex-ui v2.8.2
weflex-ui
The UI Library that used by WeFlex Products and Developers.
Get Started
import UIFramework from 'weflex-ui';
class ExampleForm extends React.Component {
constructor(props) {
super(props);
this.state = {
username: null,
password: null,
};
}
onLogin() {
// this.state.username
// this.state.password
}
render() {
return (
<UIFramework>
<UIFramework.Row name="username">
<UIFramework.TextInput bindStateCtx={this} bindStateName="username" />
</UIFramework.Row>
<UIFramework.Row name="username">
<UITextInput bindStateCtx={this} bindStateName="username" password={true} />
</UIFramework.Row>
<UIFramework.Row name="username">
<UIFramework.Button text="login" onClick={this.onLogin.bind(this)} />
</UIFramework.Row>
</UIFramework>
)
}
}
Components
See src/ for components.
Installation
$ npm install weflex-ui --save-dev
Tests
$ npm install
$ npm test
Example
$ cd examples
$ npm install && npm start
$ open ./index.html
License
MIT @ WeFlex
2.8.2
9 years ago
2.8.1
9 years ago
2.8.0
9 years ago
2.7.10
9 years ago
2.7.9
9 years ago
2.7.8
9 years ago
2.7.7
9 years ago
2.7.6
9 years ago
2.7.5
9 years ago
2.7.4
9 years ago
2.7.2
9 years ago
2.7.1
9 years ago
2.7.0
9 years ago
2.6.15
9 years ago
2.6.14
9 years ago
2.6.13
9 years ago
2.6.12
9 years ago
2.6.11
9 years ago
2.6.10
9 years ago
2.6.9
9 years ago
2.6.8
9 years ago
2.6.7
9 years ago
2.6.6
9 years ago
2.6.5
9 years ago
2.6.4
9 years ago
2.6.3
9 years ago
2.6.2
9 years ago
2.6.1
9 years ago
2.6.0
10 years ago
2.5.1
10 years ago
2.5.0
10 years ago
2.4.2
10 years ago
2.4.1
10 years ago
2.3.0
10 years ago
2.2.2
10 years ago
2.2.1
10 years ago
2.2.0
10 years ago
2.1.0
10 years ago
2.0.1
10 years ago
2.0.0
10 years ago
1.2.4
10 years ago