# react-native-unfixed-height-Swiper_old1 **Repository Path**: gitofcjf/react-native-unfixed-height-Swiper_old1 ## Basic Information - **Project Name**: react-native-unfixed-height-Swiper_old1 - **Description**: 高度随每片内容高度变化的的swiper - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-05-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 高度随每片内容的高度变化的Swiper 根据每个数组每个元素形成的组件的高度来决定整个swiper的高度 即随内容高度变化的swiper ### 内容可以文本 图片 视频 本例里面的为文本 ### 使用方式 1. npm i react-native-unfixed-height-swiper --save-dev 2. 给组件传入文本数组,每个元素为对象{contents:'',name:''} 即可 ```javascript ``` ### 欢迎pull request ### 推荐将代码直接插入自己项目中 而不是require 这是因为要刷新 放入项目中的话 刷新会快很多