yarn add react-native-waterfall-flow@1.1.5 --save 下面的代码展示了这个库的基本使用场景: import React, { useState, useRef } from 'react'; import { View, Text, StyleSheet, Button, RefreshControl, Alert } from 'react-native'; import WaterfallFlow from 'react-native-waterfall-flow'; const ...
react-native-waterfall-flow axerjs js React Native 高性能瀑布流组件Version 1.1.5 License MIT Keywordsreact-nativewaterfallreact INSTALL Version: Static Static Latest Patch Latest Minor Latest Major Open in jsfiddle Learn moreReadme Files Statistics Browse CDN Statistics...
npm install react-native-waterfall-flow --save 基本使用 importWaterfallFlowfrom'react-native-waterfall-flow' <WaterfallFlowdata={data}numColumns={2}renderItem={({item,index,columnIndex})=>{return(<View><Text>index:{index}</Text><Text>columnIndex:{columnIndex}</Text><View/>) ...
yarn add react-native-waterfall-flow@1.1.5 --save 下面的代码展示了这个库的基本使用场景: import React, { useState, useRef } from 'react'; import { View, Text, StyleSheet, Button, RefreshControl, Alert } from 'react-native'; import WaterfallFlow from 'react-native-waterfall-flow'; const ...
yarn add react-native-waterfall-flow@1.1.5 --save 下面的代码展示了这个库的基本使用场景: import React, { useState, useRef } from 'react'; import { View, Text, StyleSheet, Button, RefreshControl, Alert } from 'react-native'; import WaterfallFlow from 'react-native-waterfall-flow'; const ...
yarn add react-native-waterfall-flow@1.1.5 --save 下面的代码展示了这个库的基本使用场景: import React, { useState, useRef } from 'react'; import { View, Text, StyleSheet, Button, RefreshControl, Alert } from 'react-native'; import WaterfallFlow from 'react-native-waterfall-flow'; const ...
yarn add react-native-waterfall-flow@1.1.5 --save 下面的代码展示了这个库的基本使用场景: import React, { useState, useRef } from 'react'; import { View, Text, StyleSheet, Button, RefreshControl, Alert } from 'react-native'; import WaterfallFlow from 'react-native-waterfall-flow'; const ...
12 changes: 11 additions & 1 deletion 12 react-native-waterfall-flow/Tester/WaterfallFlowTestCase.js Original file line numberDiff line numberDiff line change @@ -96,7 +96,7 @@ const WaterfallFlowTestCase = () => { </View> </TestCase> <TestCase itShould='refreshing & onRefresh'> ...
Donguapimerged 1 commit intoreact-native-oh-library:mainfromZzCchong:main Oct 12, 2024 +11−1 Conversation0Commits1Checks0Files changed1 Contributor ZzCchongcommentedOct 11, 2024 Summary 修改react-native-waterfall-flow的测试demo 覆盖到的属性及方法 ...
react-native-waterfall-flowis MIT licensed, as found in theLICENSEfile.