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 add classnames cell #135

Merged
merged 2 commits into from
Mar 22, 2024
Merged

Feat add classnames cell #135

merged 2 commits into from
Mar 22, 2024

Conversation

Romakita
Copy link
Contributor

@Romakita Romakita commented Mar 22, 2024

Allow adding custom className for column configuration on the Table component:

<Table columns= {[
    {
      Header: "Status",
      accessor: "status",
      Filter: SelectColumnFilter,
      Cell: CellStatus,
      className: "text-center" // added property
      style: {} // added property
    },
])

@Romakita Romakita force-pushed the feat-add-classnames-cell branch from 553a4e6 to 44ccfa7 Compare March 22, 2024 13:09
@Romakita Romakita merged commit 4d94749 into master Mar 22, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant