react-native-physics:一个针对React Native的物理库的尝试

时间:2021-03-01 17:46:07
【文件属性】:
文件名称:react-native-physics:一个针对React Native的物理库的尝试
文件大小:159KB
文件格式:ZIP
更新时间:2021-03-01 17:46:07
JavaScript React本征物理学 React Native的物理库(正在进行中) 安装 npm install --save react-native-physics 输入 import { Container, Box } from 'react-native-physics'; 虚化 Container布局就像View 。 Container保存每个框的状态。 将Box放入Container 。 实例化 render ( ) { return ( < Container xss=removed xss=removed> < Box position = { { x : 20 , y : 150 } }
【文件预览】:
react-native-physics-master
----index.ios.js(149B)
----.flowconfig(1KB)
----.gitattributes(16B)
----yarn.lock(161KB)
----src()
--------reducers.js(1KB)
--------examples()
--------Container()
--------Box.js(3KB)
--------Example.js(1KB)
--------actions.js(984B)
----.babelrc(34B)
----ios()
--------ReactNativePhysicsTests()
--------ReactNativePhysics-tvOSTests()
--------ReactNativePhysics()
--------ReactNativePhysics-tvOS()
--------ReactNativePhysics.xcodeproj()
----index.android.js(149B)
----android()
--------gradlew(5KB)
--------settings.gradle(56B)
--------gradle()
--------gradlew.bat(2KB)
--------gradle.properties(887B)
--------app()
--------keystores()
--------build.gradle(642B)
----__tests__()
--------index.ios.js(280B)
--------index.android.js(284B)
----LICENSE.md(1KB)
----README.md(3KB)
----.buckconfig(114B)
----app.json(73B)
----.gitignore(774B)
----index.js(102B)
----.watchmanconfig(2B)
----package.json(1KB)

网友评论