没有合适的资源?快使用搜索试试~ 我知道了~
react-native-modal:增强,动画和可自定义的react-native modal
共99个文件
tsx:17个
png:10个
json:8个
需积分: 10 0 下载量 63 浏览量
2021-01-29
18:32:40
上传
评论
收藏 4.08MB ZIP 举报
温馨提示
:construction: 我们正在寻找维护者和贡献者! 参见 React本征模态 增强,动画和可自定义的本机React模式。 react-native-modal的目标是通过添加动画和样式自定义选项来扩展原始的react-native Modal组件,同时仍提供一个简单的API。 产品特点 流畅的输入/退出动画 简单,灵活的简单API 可自定义的背景不透明度,颜色和时间 模态动画结尾的侦听器 在设备旋转时正确调整自身大小 可滑动 可卷动 建立 该库在npm上可用,可通过以下方式安装: npm i react-native-modal或yarn add react-native-modal 。 用法 由于react-native-modal是原始react-native modal的扩展,因此它以类似的方式起作用。 导入react-native-modal: import Modal from 'react-native-modal' ; 创建一个模态并将其内容嵌套在其中: function WrapperComponent ( ) { return ( <
资源推荐
资源详情
资源评论
收起资源包目录
react-native-modal-master.zip (99个子文件)
react-native-modal-master
.releaserc 201B
example
ios
ModalExample-tvOS
Info.plist 1KB
ModalExample
main.m 390B
AppDelegate.h 386B
AppDelegate.m 1KB
Base.lproj
LaunchScreen.xib 4KB
Images.xcassets
AppIcon.appiconset
Contents.json 564B
Contents.json 60B
Info.plist 2KB
ModalExampleTests
ModalExampleTests.m 2KB
Info.plist 733B
Podfile 3KB
ModalExample.xcodeproj
project.pbxproj 40KB
Podfile.lock 13KB
ModalExample.xcworkspace
contents.xcworkspacedata 230B
ModalExample-tvOSTests
Info.plist 765B
index.js 183B
.watchmanconfig 3B
android
gradlew.bat 3KB
gradlew 6KB
gradle.properties 910B
app
proguard-rules.pro 435B
debug.keystore 2KB
build_defs.bzl 602B
src
androidTest
java
com
modalexample
DetoxTest.java 546B
main
res
mipmap-xxxhdpi
ic_launcher.png 9KB
ic_launcher_round.png 15KB
mipmap-hdpi
ic_launcher.png 3KB
ic_launcher_round.png 5KB
values
strings.xml 75B
styles.xml 246B
mipmap-xxhdpi
ic_launcher.png 6KB
ic_launcher_round.png 10KB
mipmap-mdpi
ic_launcher.png 2KB
ic_launcher_round.png 3KB
mipmap-xhdpi
ic_launcher.png 4KB
ic_launcher_round.png 7KB
java
com
modalexample
MainActivity.java 877B
MainApplication.java 1KB
AndroidManifest.xml 974B
debug
AndroidManifest.xml 368B
BUCK 1KB
build.gradle 9KB
gradle
wrapper
gradle-wrapper.jar 54KB
gradle-wrapper.properties 202B
settings.gradle 196B
build.gradle 1KB
package.json 860B
app.json 62B
src
pages
HomePage.tsx 2KB
utils
DefaultModalContent.tsx 683B
ModalBaseScene.tsx 1014B
Navigator.tsx 2KB
modals
SlowModal.tsx 632B
ScrollableModal.tsx 2KB
SwipeableModal.tsx 598B
DefaultModal.tsx 472B
CustomBackdropModal.tsx 993B
WithoutCoverScreenModal.tsx 513B
FancyModal.tsx 760B
WithoutBackdropModal.tsx 507B
BottomHalfModal.tsx 758B
BackdropCloseModal.tsx 537B
SlideModal.tsx 555B
tsconfig.json 320B
e2e
init.js 680B
allTests.spec.js 3KB
config.json 156B
.gitignore 826B
App.tsx 178B
.buckconfig 114B
yarn.lock 284KB
metro.config.js 734B
.gitattributes 16B
babel.config.js 77B
package.json 4KB
.github
images
example-modal.gif 3.66MB
PULL_REQUEST_TEMPLATE.md 404B
ISSUE_TEMPLATE
QUESTION.md 345B
BUG_REPORT.md 1KB
workflows
test.yml 678B
release.yml 586B
CONTRIBUTING.md 3KB
CODEOWNERS 23B
ISSUE_TEMPLATE.md 1KB
src
utils.ts 3KB
types.ts 729B
modal.style.ts 377B
index.ts 307B
modal.tsx 24KB
.npmignore 13B
.eslintrc.js 148B
tsconfig.json 464B
LICENSE.md 1KB
.gitignore 582B
.prettierrc.js 120B
README.md 19KB
yarn.lock 432KB
.gitattributes 16B
共 99 条
- 1
资源评论
每天痛苦与更好的
- 粉丝: 32
- 资源: 4536
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功