react-native-ratings:用于React Native的Tap and Swipe Ratings组件

时间:2024-02-23 18:33:33
【文件属性】:

文件名称:react-native-ratings:用于React Native的Tap and Swipe Ratings组件

文件大小:7.36MB

文件格式:ZIP

更新时间:2024-02-23 18:33:33

android ios ratings react-native ui-components

启用点击和滑动的React Native的评分组件。 演示-立即 分接等级 滑动等级 安装 使用yarn或npm安装软件包: yarn add react-native-ratings 要么 npm install --save react-native-ratings 用法 import { Rating , AirbnbRating } from 'react-native-ratings' ; const WATER_IMAGE = require ( './water.png' ) ratingCompleted ( rating ) { console . log ( "Rating is: " + rating ) } < AirbnbRating> < AirbnbRating count = { 11 } reviews = { [ "Terrible" , "Bad" , "Meh" , "OK" , "Good" , "Hmm..." , "Very Good" , "Wow" , "Amazing" , "Unbelievable" , "


【文件预览】:
react-native-ratings-master
----yarn.lock(217KB)
----.eslintrc.js(7KB)
----src()
--------images()
--------components()
--------TapRating.js(2KB)
--------index.d.ts(3KB)
--------SwipeRating.js(10KB)
--------index.js(109B)
----.babelrc(42B)
----.vscode()
--------settings.json(27B)
----.npmignore(72B)
----demo()
--------metro.config.js(1KB)
--------.expo-shared()
--------yarn.lock(254KB)
--------src()
--------babel.config.js(446B)
--------.expo()
--------assets()
--------App.js(1KB)
--------app.json(589B)
--------package.json(981B)
----jsconfig.json(151B)
----.expo()
--------packager-info.json(53B)
--------settings.json(101B)
----LICENSE(1KB)
----README.md(6KB)
----resources()
--------airbnb_ratings.gif(342KB)
--------tap_rating_1.png(248KB)
--------swipe_rating_1.png(264KB)
--------logo.png(102KB)
--------swipe_rating_2.png(253KB)
--------tap_rating_2.png(261KB)
--------demo_rating.png(229KB)
--------react-native-ratings.gif(5.76MB)
----.editorconfig(114B)
----.gitignore(43B)
----package.json(1KB)

网友评论