npm i react-native-sortable-list --save Examples Basic Horizontal API Props data(Object) data source order?(Array) an array of keys from data, the order of keys from the array will be used to initial rows order
172 changes: 172 additions & 0 deletions 172 react-native-sortable-list/App.tsx Original file line numberDiff line numberDiff line change @@ -0,0 +1,172 @@ import React from 'react'; import { SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, View, } from 'react-native'; import...
react-native-sortable-list.md14.08 KB 一键复制编辑原始数据按行查看历史 模板版本:v0.1.3 [!TIP]Github 地址 安装与使用 请到三方库的 Releases 发布地址查看配套的版本信息:@react-native-oh-tpl/react-native-sortabel-list Releases,并下载适用版本的 tgz 包。
react-native-sortable-list 安装与使用 npm yarn 约束与限制 兼容性 属性 静态方法 遗留问题 其他 开源协议 模板版本:v0.2.2 [!TIP]Github 地址 安装与使用 请到三方库的 Releases 发布地址查看配套的版本信息:@react-native-oh-tpl/react-native-sortabel-list Releases。对于未发布到npm的旧版本,请参考安装指南...
import React, {useCallback, useState, useRef} from 'react'; import {StyleSheet} from 'react-native'; import {SortableList, View, Text, Colors, Button, Card, BorderRadiuses} from 'react-native-ui-lib'; import {renderHeader} from '../ExampleScreenPresenter'; ...
请到三方库的 Releases 发布地址查看配套的版本信息:@react-native-oh-tpl/react-native-sortabel-list Releases,并下载适用版本的 tgz 包。 进入到工程目录并输入以下命令: [!TIP] # 处替换为 tgz 包的路径 npm npm install @react-native-oh-tpl/react-native-sortable-list@file:# ...
This is the react-native port of thereact-SortableListdemo. It supports arbitrary number of items, and each item can have different heights. It also include some react-native specific tweaks: The list of items are embedded in a ScrollView. ...
npm i react-native-sortable-list --save Examples Basic Horizontal API Props data(Object) data source order?(Array) an array of keys from data, the order of keys from the array will be used to initial rows order style?(Object, Array) ...