【文件属性】:
文件名称:react-native-logo-animation:React Native 标志动画
文件大小:976KB
文件格式:ZIP
更新时间:2021-05-29 19:58:44
TypeScript
react-native-logo-animation
React Native 标志动画
安装
添加依赖:
npm i react-native-logo-animation
或者
yarn add react-native-logo-animation
对等依赖
重要的! 你需要安装它们
" react-native-reanimated " : " >=2.0.0-alpha.9.2 " ,
" react-native-svg " : " >=0.9.1 "
用法
进口
import AnimatedLogo from 'react-native-logo-animation' ;
基本用法
< AnimatedLogo
vWidth = { 416 }
vHeight = { 601 }
duration = { 4000 }
strokeWidth
【文件预览】:
react-native-logo-animation-master
----example()
--------ios()
--------android()
--------package.json(639B)
--------app.json(79B)
--------src()
--------index.tsx(171B)
--------yarn.lock(198KB)
--------metro.config.js(1KB)
--------babel.config.js(349B)
----package.json(4KB)
----.yarnrc(115B)
----LICENSE(1KB)
----CONTRIBUTING.md(8KB)
----src()
--------__tests__()
--------index.tsx(83B)
--------components()
----tsconfig.json(707B)
----.gitignore(580B)
----preview.gif(877KB)
----.circleci()
--------config.yml(2KB)
----README.md(12KB)
----yarn.lock(430KB)
----scripts()
--------bootstrap.js(682B)
----.editorconfig(283B)
----.gitattributes(71B)
----babel.config.js(77B)
----tsconfig.build.json(57B)