Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

CustumTable of Sample Page doesnot work #195

Open
matsubaraDaisuke opened this issue Jun 4, 2021 · 1 comment
Open

CustumTable of Sample Page doesnot work #195

matsubaraDaisuke opened this issue Jun 4, 2021 · 1 comment

Comments

@matsubaraDaisuke
Copy link

matsubaraDaisuke commented Jun 4, 2021

Target:
https://buffetjs.io/storybook/?path=/story/components-table--with-custom-row

Now, 'Row' is not imported

  return (
    <Row>
      <td>
        <p>{id}</p>
      </td>
      <td>
        <p>{firstname}</p>
      </td>
      <td>
        <p>{lastname}</p>
      </td>
      <td>
        <p>{recipe}</p>
      </td>
      <td>
        <p>{restaurant}</p>
      </td>
    </Row>
  );
@matsubaraDaisuke
Copy link
Author

I resolved this problem

Row means CUstomRow

import { Table } from '@buffetjs/core';
import { CustomRow as Row } from '@buffetjs/styles';

Ref:
https://github.com/strapi/buffet/blob/43ebfafd66c0f005067d9e85462c591e6fa66f3a/docs/stories/components/TableCustomRow.stories.js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant