Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Table): Add scroll props & Update example & Update menu to website & Update (QuickList) example #176

Merged
merged 114 commits into from
Aug 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
ddac29a
chore(deps): add renovate.json (#6)
renovate[bot] Apr 15, 2020
32bf6ab
chore(deps): pin dependencies (#7)
renovate[bot] Apr 15, 2020
842751b
chore(deps): update react-navigation monorepo
renovate-bot Apr 15, 2020
4bad81e
fix(deps): update dependency @types/color to v3.0.1
renovate-bot Apr 15, 2020
505f9d2
chore(deps): update dependency react-navigation-stack to v2
renovate-bot Apr 16, 2020
9f6fc7f
Merge branch 'master' of github.com:uiwjs/react-native-uiw
jaywcjlove Apr 21, 2020
a59349a
released v1.6.1
jaywcjlove Apr 21, 2020
98620b2
feat(CheckBox): Enhance checkedIcon/unCheckedIcon props.
jaywcjlove May 7, 2020
c73eb68
chore: Update @uiw/icons to v2.4.3
jaywcjlove May 7, 2020
eaf362b
released v1.6.2
jaywcjlove May 7, 2020
5e3aef6
doc(CheckBox): Update README.md
jaywcjlove May 7, 2020
fb28688
feat: Modify unCheckedIcon default value.
jaywcjlove May 7, 2020
7a94440
released v1.6.3
jaywcjlove May 7, 2020
7cad41c
chore(deps): Update react-native to v0.62.2
jaywcjlove May 20, 2020
72b6d0f
chore(deps): pin dependencies
renovate-bot May 20, 2020
7d551aa
chore(deps): update dependency tsbb to v1.7.3
renovate-bot May 8, 2020
cbcb08b
chore: Modify example.
jaywcjlove May 21, 2020
8c1407f
chore: Fix homepage layout issue.
jaywcjlove May 21, 2020
d3dfb4f
chore: Format the code.
jaywcjlove May 21, 2020
80153f9
released v1.7.0
jaywcjlove May 21, 2020
2473891
released v1.7.1
jaywcjlove May 21, 2020
d279695
chore: Remove redundant codes.
jaywcjlove May 21, 2020
65084f3
released v1.7.2
jaywcjlove May 21, 2020
4ea3d85
feat: Add MaskLayer component.
jaywcjlove May 22, 2020
3a1ea32
feat: Add usePrevious.
jaywcjlove May 22, 2020
44f3cfd
fix: Fix Animated errors.
jaywcjlove May 22, 2020
47647b8
fix: Fix Modal style.
jaywcjlove May 22, 2020
d0dd8cf
released v1.7.3
jaywcjlove May 22, 2020
aec1878
released v1.7.4
jaywcjlove May 22, 2020
54065d5
Update dependency tsbb to v1.7.4
renovate-bot May 23, 2020
9df8945
Update dependency react-native-safe-area-context to v2
renovate-bot May 23, 2020
6b0ee0c
Update dependency @types/react-native to v0.62.11
renovate-bot May 23, 2020
a5e15e7
Update react-navigation monorepo
renovate-bot May 23, 2020
fdaf8ae
Update dependency react-native-safe-area-context to v2.0.1
renovate-bot May 25, 2020
a40ac8c
Update react-navigation monorepo
renovate-bot Jun 6, 2020
bdbc153
Update dependency react-native-safe-area-context to v3
renovate-bot May 28, 2020
2195713
chore(deps): bump lodash from 4.17.15 to 4.17.19
dependabot[bot] Jul 18, 2020
24f2299
Update dependency tsbb to v1.7.6
renovate-bot Jul 3, 2020
26b525e
Upgrade react-native to v0.63.2 (#61)
matuancc Jul 30, 2020
60702bb
恢复babel.config的eslink,删除不需要上传的flowconfig (#65)
matuancc Jul 31, 2020
b160691
chore(deps): bump logkitty from 0.6.1 to 0.7.1
dependabot[bot] Jul 30, 2020
3a5ab4e
doc: Update README.md
jaywcjlove Jul 31, 2020
635a4b5
fix:解决MenuDropdown组件下拉报错
ChenlingasMx Jul 31, 2020
3ce9dcc
升级TypeScript,注释babel.config.js两行代码 (#68)
matuancc Aug 1, 2020
7c3c90c
Create LICENSE
jaywcjlove Aug 1, 2020
62d0680
fix(SelectCascader): update native Pick
xingyuefeng Aug 19, 2020
a746818
chore: Update ios/UIW.xcodeproj/project.pbxproj &yarn.lock
jaywcjlove Aug 19, 2020
d49ed4c
chore: Update dependencies
jaywcjlove Aug 19, 2020
19032b5
released v1.7.5
jaywcjlove Aug 19, 2020
8408639
fix: update react-native-svg
xingyuefeng Oct 12, 2020
2153118
Merge branch 'master' of github.com:uiwjs/react-native-uiw
xingyuefeng Oct 12, 2020
3086b94
fix: update react-native-svg
xingyuefeng Oct 12, 2020
0b3687c
doc: Update README.md
jaywcjlove Oct 12, 2020
c7d843e
Merge branch 'master' of github.com:uiwjs/react-native-uiw
jaywcjlove Oct 12, 2020
8510ee5
chore: Update dependencies.
jaywcjlove Oct 12, 2020
8411e77
released v1.7.5
jaywcjlove Oct 12, 2020
1598941
released v1.7.6
jaywcjlove Oct 12, 2020
3c9910d
chore(deps): pin dependencies
renovate-bot Oct 12, 2020
7e33345
chore: remove package-lock.json
jaywcjlove Oct 12, 2020
e9e8f1a
Merge branch 'master' of github.com:uiwjs/react-native-uiw
jaywcjlove Oct 12, 2020
fdd9786
chore(deps): update dependency typescript to v4
renovate-bot Oct 12, 2020
e543505
chore: Update yarn.lock
jaywcjlove Oct 12, 2020
7a6d322
doc: Update README.md
jaywcjlove Oct 16, 2020
5e86fd2
chore(deps): update dependency tsbb to v1.7.8
renovate-bot Nov 19, 2020
08984b2
fix(Icon): Add fill default value.
jaywcjlove Mar 25, 2021
2c6ae58
chore(deps): update dependency react-native to v0.64
jaywcjlove Mar 25, 2021
16c64b5
chore: update yarn.lock
jaywcjlove Mar 25, 2021
63dff75
released v1.7.6
jaywcjlove Mar 25, 2021
38770ac
type: Fix type errors.
jaywcjlove Mar 25, 2021
a329954
released v1.7.6
jaywcjlove Mar 25, 2021
6649bc2
released v1.8.0
jaywcjlove Mar 25, 2021
176bbfd
fix:SearchBar组件
ChenlingasMx Apr 22, 2021
98477f7
released v1.9.0
jaywcjlove Apr 22, 2021
97ab6c9
type(SearchBar): Fix type errors. #93
jaywcjlove Apr 22, 2021
bbbc0f7
released v1.9.1
jaywcjlove Apr 22, 2021
0663cf6
fix:SearchBar组件
ChenlingasMx Apr 22, 2021
c8d5bea
fix:Table表格
ChenlingasMx Apr 27, 2021
1ab8e40
#95
jaywcjlove Apr 27, 2021
41cf759
released v1.10.0
jaywcjlove Apr 27, 2021
b253482
chore(doc): Update README.md
jaywcjlove Apr 27, 2021
ebff091
fix(deps): update dependency @react-native-picker/picker to v1.16.0
renovate-bot May 11, 2021
be4cd61
chore(deps): update react-navigation monorepo
renovate-bot May 9, 2021
8c64661
Wx (#103)
ChenlingasMx Jun 19, 2021
fc1db9b
released v1.11.0
jaywcjlove Jun 19, 2021
21eeecc
chore: publish npm using workflows.
jaywcjlove Jun 19, 2021
bc0c36a
chore: update workflows config.
jaywcjlove Jun 19, 2021
db2f851
type: fix tsconfig.json errors.
jaywcjlove Jun 19, 2021
8e9bb6f
chore(deps): update dependency fs-extra to v10
renovate-bot May 3, 2021
95e4a1d
chore(deps): update dependency prettier to v2.3.1
renovate-bot Jun 5, 2021
50548a9
chore(deps): update dependency tsbb to v2.2.1
renovate-bot Jun 18, 2021
1e42aa5
fix(deps): update dependency @uiw/icons to v2.5.1
renovate-bot Jun 19, 2021
6f19630
chore(deps): update dependencies.
jaywcjlove Jun 19, 2021
edecda0
released v1.12.0
jaywcjlove Jun 19, 2021
ed26e92
Merge branch 'master' into v1
jaywcjlove Jul 31, 2021
8f43c52
fix:team团队页面调用github用户信息接口
ChenlingasMx Aug 3, 2021
d6482cc
fix:pull @uiw/react-native master
ChenlingasMx Aug 3, 2021
a89a5b2
fix:pull @uiw/react-native master
ChenlingasMx Aug 4, 2021
4a54582
fix:pull master
ChenlingasMx Aug 4, 2021
88eb125
fix:pull @uiw/react-native master
ChenlingasMx Aug 5, 2021
ce20aa7
fix:pull @uiw/react-native master
ChenlingasMx Aug 5, 2021
0ccbb04
fix:pull @uiw/react-native
ChenlingasMx Aug 10, 2021
78b5633
fix:解决svg报错
ChenlingasMx Aug 10, 2021
3ff4bf6
fix:Tab example报错和封装quickList 组件
ChenlingasMx Aug 10, 2021
0894884
fix:QuickList routes Demo
ChenlingasMx Aug 10, 2021
b99c838
fix:@uiw/react-native master
ChenlingasMx Aug 10, 2021
69a1824
fix:pull main master
ChenlingasMx Aug 11, 2021
7698883
fix:删除Table demo 多余代码
ChenlingasMx Aug 11, 2021
14ee695
fix:Card 组件
ChenlingasMx Aug 11, 2021
f6486a9
fix:QuickLidt文档
ChenlingasMx Aug 11, 2021
169c3cf
fix:pull @uiw/react-native master
ChenlingasMx Aug 12, 2021
60aadbf
fix:pull @uiw/react-native master
ChenlingasMx Aug 14, 2021
a64d937
fix:Card组件增加点击选中功能
ChenlingasMx Aug 14, 2021
7d24aba
fix:QuickList Demo & Table组件增加滚动功能
ChenlingasMx Aug 14, 2021
bb936d6
fix:pull master
ChenlingasMx Aug 14, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/examples/src/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export const stackPageData: Routes[] = [
component: require('./routes/QuickList').default,
params: {
title: 'QuickList 快速请求列表',
description: 'QuickList 快速请求上拉下拉数据列表',
description: 'QuickList 高效率快速请求上拉下拉数据列表',
},
},
{
Expand Down
76 changes: 46 additions & 30 deletions example/examples/src/routes/QuickList/index.tsx
Original file line number Diff line number Diff line change
@@ -1,52 +1,53 @@
import React, {useRef, useState} from 'react';
import {SafeAreaView} from 'react-native';
import {QuickList, List} from '@uiw/react-native';
import {ComProps} from '../../routes';
import React, { useRef, useState } from 'react';
import { SafeAreaView, Image, View, Text } from 'react-native';
import { QuickList, List } from '@uiw/react-native';
import { ComProps } from '../../routes';
import Layout from '../../Layout';
const {Header} = Layout;
const { Header } = Layout;

export interface ListViewProps extends ComProps {}
export interface ListViewProps extends ComProps { }

interface fethProp {
page: number;
pageSize: number;
}

const defaultData: Array<{name: string; id: number}> = [
{name: '最好用的快速List列表', id: 1},
{name: '最好用的快速List列表', id: 2},
{name: '最好用的快速List列表', id: 3},
{name: '最好用的快速List列表', id: 4},
{name: '最好用的快速List列表', id: 5},
{name: '最好用的快速List列表', id: 6},
{name: '最好用的快速List列表', id: 7},
{name: '最好用的快速List列表', id: 8},
{name: '最好用的快速List列表', id: 9},
{name: '最好用的快速List列表', id: 10},
const imageUrl = 'https://c-ssl.duitang.com/uploads/item/202004/13/20200413013923_25wds.jpeg'
const defaultData: Array<{ name: string; id: number; img: string }> = [
{ name: '@uiw/react-native QuickList', id: 1, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 2, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 3, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 4, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 5, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 6, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 7, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 8, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 9, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 10, img: imageUrl },
];

const QuickListView = (props: ListViewProps) => {
const baseRef = useRef();
const {route} = props;
const { route } = props;
const description = route.params.description;
const title = route.params.title;
const [total, setTotal] = useState(0);
const [data, setData] = useState<Array<{name: string; id: number}>>([]);
const [data, setData] = useState<Array<{ name: string; id: number; img: string }>>([]);

const sleep = (time: any) =>
new Promise(resolve => setTimeout(() => resolve(''), time));
// 模拟请求
const fethList = async (params: fethProp) => {
const {page, pageSize} = params;
const { page, pageSize } = params;
if (page === 1) {
await sleep(500);
setData(defaultData);
} else {
let fetchData = [];
for (let i = 0; i < pageSize; i++) {
const id = data.length + (1 / 10) * pageSize + i;
const name = '最好用的快速List列表';
let obj = {name, id};
const name = '@uiw/react-native QuickList';
const img = imageUrl
let obj = { name, id, img };
fetchData.push(obj);
}
let newData = [...data, ...fetchData];
Expand All @@ -56,20 +57,35 @@ const QuickListView = (props: ListViewProps) => {
setTotal(40);
};

const ListItem = (item:any) => {
return (
<List flat={false}>
<View
style={{ padding: 10, display: "flex", alignItems: "center", flexDirection: "row" }}>
<Image
source={{
uri: item.img,
}}
style={{ height: 70, width: 70, borderRadius: 50 }}
/>
<View style={{ marginLeft: 10 }}>
<Text style={{ marginBottom: 5, fontSize: 18 }}>react-native</Text>
<Text style={{ color:"#808080"}}>{item.name}</Text>
</View>
</View>
</List>
)
}

return (
<SafeAreaView style={{flex: 1}}>
<SafeAreaView style={{ flex: 1 }}>
<Header title={title} description={description} />
<QuickList
ref={baseRef}
onFetch={fethList}
data={data}
total={total}
renderItem={({item}) => (
<List flat={false}>
<List.Item
style={{height: 70}}>{`${item.id}-${item.name}`}</List.Item>
</List>
)}
renderItem={({ item }) => ListItem(item)}
keyId="id"
/>
</SafeAreaView>
Expand Down
42 changes: 27 additions & 15 deletions example/examples/src/routes/Table/index.tsx
Original file line number Diff line number Diff line change
@@ -1,46 +1,58 @@
import React from 'react';
import {SafeAreaView, TouchableHighlight, Text} from 'react-native';
import {Table} from '@uiw/react-native';
import {ComProps} from '../../routes';
import { SafeAreaView, TouchableHighlight, Text } from 'react-native';
import { Table } from '@uiw/react-native';
import { ComProps } from '../../routes';
import Layout from '../../Layout';
const SearchBarDemo = (props: ComProps) => {
const {Header} = Layout;
const {route} = props;
const { Header } = Layout;
const { route } = props;
const description = route.params.description;
const title = route.params.title;

return (
<SafeAreaView style={{flex: 1}}>
<SafeAreaView style={{ flex: 1 }}>
<Header title={title} description={description} />
<Table
columns={[
{
title: '类型',
dataIndex: 'reportType',
ellipsis: true,
title: '配件名称',
dataIndex: 'partName',
style: { width: 100 },
},
{
title: '配件品牌',
dataIndex: 'partBrand',
style: { width: 100 },
},
{
title: '配件型号',
dataIndex: 'partModel',
style: { width: 100 },
},
{
title: '备注',
dataIndex: 'remark',
ellipsis: true,
style: { width: 100 },
},
{
title: '操作',
dataIndex: 'id',
style: { width: 90 },
render: () => {
return (
<TouchableHighlight onPress={() => {}}>
<Text style={{color: '#888'}}>查看</Text>
<TouchableHighlight onPress={() => { }}>
<Text style={{ color: '#888' }}>查看</Text>
</TouchableHighlight>
);
},
},
]}
data={[
{id: '1', reportType: '❤️爱永恒', remark: 'ff爱zz,三生三世用相随'},
{id: '2', reportType: '❤️爱永恒', remark: 'ff爱zz,三生三世用相随'},
{id: '3', reportType: '❤️爱永恒', remark: 'ff爱zz,三生三世用相随'},
{id: '4', reportType: '❤️爱永恒', remark: 'ff爱zz,三生三世用相随'},
{ id: '1', partName: 'Chanel', partBrand: '香奈儿', partModel: 'xl', remark: 'ff爱zz,三生三世用相随' },
{ id: '2', partName: 'Chanel', partBrand: '香奈儿', partModel: 'xl', remark: 'ff爱zz,三生三世用相随' },
{ id: '3', partName: 'Chanel', partBrand: '香奈儿', partModel: 'xl', remark: 'ff爱zz,三生三世用相随' },
{ id: '4', partName: 'Chanel', partBrand: '香奈儿', partModel: 'xl', remark: 'ff爱zz,三生三世用相随' },
]}
rowKey="id"
/>
Expand Down
61 changes: 39 additions & 22 deletions packages/core/src/QuickList/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@ QuickList 快速请求列表
<!--DemoStart-->
```jsx
import React, { useRef, useState } from 'react';
import { SafeAreaView } from 'react-native';
import { SafeAreaView, Image, View, Text } from 'react-native';
import { QuickList, List } from '@uiw/react-native';

const defaultData =[
{ name: '最好用的快速List列表', id: 2 },
{ name: '最好用的快速List列表', id: 3 },
{ name: '最好用的快速List列表', id: 4 },
{ name: '最好用的快速List列表', id: 5 },
{ name: '最好用的快速List列表', id: 6 },
{ name: '最好用的快速List列表', id: 7 },
{ name: '最好用的快速List列表', id: 8 },
{ name: '最好用的快速List列表', id: 9 },
{ name: '最好用的快速List列表', id: 10 },
]
const imageUrl = 'https://c-ssl.duitang.com/uploads/item/202004/13/20200413013923_25wds.jpeg'

const defaultData = [
{ name: '@uiw/react-native QuickList', id: 1, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 2, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 3, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 4, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 5, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 6, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 7, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 8, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 9, img: imageUrl },
{ name: '@uiw/react-native QuickList', id: 10, img: imageUrl },
];

const QuickListDemo = (props) => {
const baseRef = useRef();
const { route } = props;
const description = route.params.description;
const title = route.params.title;
const [total, setTotal] = useState(0)
const [data, setData] = useState([])

Expand All @@ -43,8 +43,9 @@ const QuickListDemo = (props) => {
let fetchData = []
for (let i = 0; i < pageSize; i++) {
const id = (data.length + 1 / 10 * pageSize) + i
const name = `最好用的快速List列表`;
let obj = { name, id }
const name = `@uiw/react-native QuickList`;
const img = imageUrl
let obj = { name, id,img }
fetchData.push(obj)
}
let newData = [...data, ...fetchData]
Expand All @@ -53,6 +54,26 @@ const QuickListDemo = (props) => {
}
setTotal(40)
}
// 列表渲染
const ListItem = (item:any) => {
return (
<List flat={false}>
<View
style={{ padding: 10, display: "flex", alignItems: "center", flexDirection: "row" }}>
<Image
source={{
uri: item.img,
}}
style={{ height: 70, width: 70, borderRadius: 50 }}
/>
<View style={{ marginLeft: 10 }}>
<Text style={{ marginBottom: 5, fontSize: 18 }}>react-native</Text>
<Text style={{ color:"#808080"}}>{item.name}</Text>
</View>
</View>
</List>
)
}

return (
<SafeAreaView style={{ flex: 1 }}>
Expand All @@ -61,11 +82,7 @@ const QuickListDemo = (props) => {
onFetch={fethList}
data={data}
total={total}
renderItem={({ item }) =>
<List flat={false}>
<List.Item style={{ height: 70 }}>{`${item.id}-${item.name}`}</List.Item>
</List>
}
renderItem={({ item }) => ListItem(item)}
keyId="id"
/>
</SafeAreaView>
Expand Down
77 changes: 46 additions & 31 deletions packages/core/src/Table/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,50 @@ import { Table } from '@uiw/react-native';

function Demo() {
return (
<Table
columns={[
{
title: '类型',
dataIndex: 'reportType',
ellipsis: true,
},
{
title: '备注',
dataIndex: 'remark',
ellipsis: true,
},
{
title: '操作',
dataIndex: 'id',
render: record => {
return (
<TouchableHighlight onPress={()=>{ }}>
<Text style={{color: '#888'}}>查看</Text>
</TouchableHighlight>
);
<Table
columns={[
{
title: '配件名称',
dataIndex: 'partName',
style: { width: 100 },
},
},
]}
data={[
{id: '1', reportType: '❤️爱永恒', remark: 'ff爱zz,三生三世用相随'},
{id: '2', reportType: '❤️爱永恒', remark: 'ff爱zz,三生三世用相随'},
{id: '3', reportType: '❤️爱永恒', remark: 'ff爱zz,三生三世用相随'},
{id: '4', reportType: '❤️爱永恒', remark: 'ff爱zz,三生三世用相随'},
]}
rowKey="id"
/>
{
title: '配件品牌',
dataIndex: 'partBrand',
style: { width: 100 },
},
{
title: '配件型号',
dataIndex: 'partModel',
style: { width: 100 },
},
{
title: '备注',
dataIndex: 'remark',
ellipsis: true,
style: { width: 100 },
},
{
title: '操作',
dataIndex: 'id',
style: { width: 90 },
render: () => {
return (
<TouchableHighlight onPress={() => { }}>
<Text style={{ color: '#888' }}>查看</Text>
</TouchableHighlight>
);
},
},
]}
data={[
{ id: '1', partName: 'Chanel', partBrand: '香奈儿', partModel: 'xl', remark: 'ff爱zz,三生三世用相随' },
{ id: '2', partName: 'Chanel', partBrand: '香奈儿', partModel: 'xl', remark: 'ff爱zz,三生三世用相随' },
{ id: '3', partName: 'Chanel', partBrand: '香奈儿', partModel: 'xl', remark: 'ff爱zz,三生三世用相随' },
{ id: '4', partName: 'Chanel', partBrand: '香奈儿', partModel: 'xl', remark: 'ff爱zz,三生三世用相随' },
]}
rowKey="id"
/>
);
}
```
Expand All @@ -51,6 +63,8 @@ function Demo() {
| `columns` | 表格列的配置描述,具体项见下表 | ColumnsType[] | - |
| `data` | 数据数组 | object[] | - |
| `rowKey` | 表格行 key 的取值,可以是字符串或一个函数 | string | function(record): string | key |
| `horizontal` | 是否水平排成一行 | bool | true |
| `style` | Table样式 | object | - |

### Column

Expand All @@ -60,3 +74,4 @@ function Demo() {
| `ellipsis` | 超过宽度将自动省略 | - |
| `title` | 列头显示文字 | string | - |
| `render` | 生成复杂数据的渲染函数,参数为当前行数据 | function(record) {} | - |
| `style` | Table行内样式 | object | - |
Loading