2.8.2 • Published 7 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
7 years ago
2.8.1
7 years ago
2.8.0
7 years ago
2.7.10
7 years ago
2.7.9
7 years ago
2.7.8
8 years ago
2.7.7
8 years ago
2.7.6
8 years ago
2.7.5
8 years ago
2.7.4
8 years ago
2.7.2
8 years ago
2.7.1
8 years ago
2.7.0
8 years ago
2.6.15
8 years ago
2.6.14
8 years ago
2.6.13
8 years ago
2.6.12
8 years ago
2.6.11
8 years ago
2.6.10
8 years ago
2.6.9
8 years ago
2.6.8
8 years ago
2.6.7
8 years ago
2.6.6
8 years ago
2.6.5
8 years ago
2.6.4
8 years ago
2.6.3
8 years ago
2.6.2
8 years ago
2.6.1
8 years ago
2.6.0
8 years ago
2.5.1
8 years ago
2.5.0
8 years ago
2.4.2
8 years ago
2.4.1
8 years ago
2.3.0
8 years ago
2.2.2
8 years ago
2.2.1
8 years ago
2.2.0
8 years ago
2.1.0
8 years ago
2.0.1
8 years ago
2.0.0
8 years ago
1.2.4
8 years ago