Skip to content

Commit

Permalink
Fix typescript type name typo in DataTableManager component (#2154)
Browse files Browse the repository at this point in the history
* refactor(data-table-manager): fix type name typo

* chore(data-table-manager): changeset added

* chore(data-table-manager): improve changeset message

Co-authored-by: Nicola Molinari <[email protected]>

Co-authored-by: Nicola Molinari <[email protected]>
  • Loading branch information
CarlosCortizasCT and emmenko authored Mar 24, 2022
1 parent 87b45d4 commit 5a1d5f1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-penguins-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-uikit/data-table-manager': patch
---

Fix name typo for `TColumnProps` type.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface TRow {
id: string;
}

export type TColumProps = {
export type TColumnProps = {
/**
* The unique key of the column that is used to identify your data type.
* You can use this value to determine which value from a row item should be rendered.
Expand Down Expand Up @@ -108,7 +108,7 @@ type TDataTableManagerProps = {
* The list of columns to be rendered.
* Each column can be customized (see properties below).
*/
columns: TColumProps[];
columns: TColumnProps[];

/**
* Any React node. Usually you want to render the `<DataTable>` component.
Expand Down
2 changes: 1 addition & 1 deletion packages/components/data-table-manager/src/export-types.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export type { TRow, TColumProps } from './data-table-manager';
export type { TRow, TColumnProps } from './data-table-manager';

1 comment on commit 5a1d5f1

@vercel
Copy link

@vercel vercel bot commented on 5a1d5f1 Mar 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.