react-native-fold-text

react-native-fold-text JS library on GitHub react-native-fold-text JS library on npm Download react-native-fold-text JS library

多文本折叠(Multitext folding)

Version 1.0.2 License ISC
react-native-fold-text has no homepage
react-native-fold-text JS library on GitHub
react-native-fold-text JS library on npm
Download react-native-fold-text JS library
Keywords
react-nativeMultitextfold-text

Install(安装)

在你的 React Native App 工程根目录下执行以下命令进行安装:

npm install --save react-native-row-text

Usage(使用)


import FoldText from "react-native-row-text";

 <FoldText
    text={intro}
    maxLines={3}
/>

Prop name Type Default
text PropTypes.string
maxLines PropTypes.number 5

图片