import React, { Component } from 'react';
import Table from './Table';
const head = [
'姓名',
'性别',
'年龄',
'姓氏',
'名字',
'内容',
];
const list = [
{
name: '张三', sex: 'man', age: 18, firstName: 'zhang', seconName: 'san', content: 'hahahahh',
},
{
name: '李四', sex: 'man', age: 18, firstName: 'zhang', seconName: 'san', content: 'hahahahh',
},
{
name: '小路', sex: '女', age: 18, firstName: 'zhang', seconName: 'san', content: 'hahahahh',
},
];
export default class GirdFlat extends Component {
render() {
return (
<Table
head={head}
list={list}
/>
);
}
}
-
Notifications
You must be signed in to change notification settings - Fork 2
chriiess/react-native-table
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published