Skip to content

Using ink-table with pastel #75

@diego-carvallo

Description

@diego-carvallo

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:

image

Please help!
cc @AeonFr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions