1.0.0-beta.0 • Published 3 years ago
driver-harmony v1.0.0-beta.0
driver-harmony
Harmony OS driver for Rax.
Install
$ npm install --save driver-harmony
Use
import {createElement, render} from 'rax';
import DriverHarmony from 'driver-harmony';
function Example() {
return (
<div>
<image width="560" height="560" src="https://img.alicdn.com/tps/TB1z.55OFXXXXcLXXXXXXXXXXXX-560-560.jpg" />
</div>
);
}
render(<Example />, null, {
driver: DriverHarmony
});
1.0.0-beta.0
3 years ago