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-devTests
$ npm install
$ npm testExample
$ cd examples
$ npm install && npm start
$ open ./index.htmlLicense
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
10 years ago
2.7.1
10 years ago
2.7.0
10 years ago
2.6.15
10 years ago
2.6.14
10 years ago
2.6.13
10 years ago
2.6.12
10 years ago
2.6.11
10 years ago
2.6.10
10 years ago
2.6.9
10 years ago
2.6.8
10 years ago
2.6.7
10 years ago
2.6.6
10 years ago
2.6.5
10 years ago
2.6.4
10 years ago
2.6.3
10 years ago
2.6.2
10 years ago
2.6.1
10 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