1.0.15 • Published 2 years ago
lucky-web v1.0.15
lucky-web
lucky-web是个使用yoga的布局引擎和React,来绘制canvas的渲染框架,支持react 17以上的hook
Install
$ npm i lucky-web -S
demo
文档
使用
import React from 'react';
import {render, View, ScrollView} from 'lucky-web';
const style = {
main: {
flex: 1,
width: '100%',
backgroundColor: 'rgba(49, 24, 124, 1)'
},
}
const App = () => {
return (
<ScrollView style={style.main}>
<Text>HELLO WORLD </Text>
</ScrollView >
)
}
const app = render(<App />, document.getElementById('app')!, {});
<div id='app'}></div>
1.0.9
2 years ago
1.0.8
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.6-experimental
2 years ago
1.0.7
2 years ago
1.0.6-experimental-01
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago