为 React Native 构建表格
⚠️ This Repository is No Longer Maintained ⚠️
Attention: This repository is no longer being actively maintained or updated. The development has shifted to another GitHub repository. We encourage you to check out the new repository for the latest features and improvements. Thank you for your understanding and support! .
A big thank you to Gil2015, the original author, for their tremendous efforts and contributions to this project!
New Repository: react-native-reanimated-table
In the new repository, we will be working on creating a high-performance table component using Reanimated. The API will initially be compatible with this project, but it will change completely after version 0.1.0. Please be patient and stay tuned for updates!
We're excited about the new direction we're taking, and we hope you'll join us there! Happy coding!
React Native Table Component
If you are interested in maintaining the project, please contact the email [email protected].
This is a table component for react native.
npm install react-native-table-component
USE:
import { Table, TableWrapper, Row, Rows, Col, Cols, Cell } from 'react-native-table-component';……………| Prop | Type | Description | Default |
|---|---|---|---|
| data | Array | Table data. | null |
| style | Style | Container style. | null |
| borderStyle | Object | Table border line width and color. | { borderWidth: 0, borderColor: #000 } |
| textStyle | Style | Cell font style. | null |
| flexArr | Array | Flex value per column. | [] |
| widthArr | Array | Width per column. | [] |
| heightArr | Array | Height per line. | [] |
| ...props | any | more props |
{/* If parent element is not Table component,please add the type of borderstyle. */}
暂无开放 Issues,或尚未同步最近议题。