Closed AaronConlon closed 1 year ago
I was successfully able to use ink-table alongside pastel. Looks like your error comes from the Skeleton
component. Can you provide a more complete stack trace?
Hi I created a new project using npx create-pastel-app
and I followed the sample here to use ink-table, so I have:
import Table from 'ink-table';
const data = [
{
name: 'Sosa Saunders',
gender: 'male',
age: 17,
},
{
name: 'Angelina Kirk',
gender: 'female',
age: 33,
}
]
export const alias = 'n';
export default function normalize() {
return <Table data={data} />;
}
but I get this error when running npm build:
Please help! cc @AeonFr
and thanks.I can not understand it.ink-table use render function,but pastel not. I try to export it,but a lot of error.
but error: