Failed to import antd-table-infinity in a meteor project
yuri3 opened this issue · 9 comments
Hi Leonard, I've recently found out this lib (antd-table-infinity), and tried to use it in the meteor project,
but got errors, when try just import (import { InfinityTable } from 'antd-table-infinity'), if you will have some time can you please check it? To quickly check please create a simple meteor project (meteor create --react new-react-app) after you install Meteor, here is the link for the info => (https://www.meteor.com/install)
Thanks.
Are you try antd-table-infinity@0.0.11 ?
I updated it in yesterday
Hi, yes I’ve tried, got the same errors:(
try import { InfinityTable } from 'antd-table-infinity/dist'
fine!
fixed it in antd-table-infinity@0.0.12
meteor incompatible lodash-es, replace with lodash.throttle
columns type is array!
fixed it in antd-table-infinity@0.0.13
const columns = [
{
title: 'index',
dataIndex: 'index',
render: text => text,
width: 50,
},
{
title: 'Name',
dataIndex: 'name',
width: 100,
},
{
title: 'Age',
width: 50,
dataIndex: 'age',
},
{
title: 'Address',
width: 200,
dataIndex: 'address',
},
];
Hi Leonard, thanks a lot, all works.