driver-weex
v2.1.0
Published
Weex driver for Rax
Downloads
3,433
Keywords
Readme
driver-weex
Weex driver for Rax.
Install
$ npm install --save driver-weex
Use
import {createElement, Component, render} from 'rax';
import * as WeexDriver from 'driver-weex';
class Example extends Component {
render() {
return (
<div>
<img width="560" height="560" src="https://img.alicdn.com/tps/TB1z.55OFXXXXcLXXXXXXXXXXXX-560-560.jpg" />
</div>
);
}
}
render(<Example />, null, {
driver: WeexDriver
});