Skip to content

Commit

Permalink
feat: change table v4 props name
Browse files Browse the repository at this point in the history
  • Loading branch information
kostasdano committed Apr 9, 2024
1 parent 35e0eb5 commit 80a3934
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/TableV4/TableV4.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export type Selection = string | number;

export type TableType = 'normal' | 'nested-header';

export type TableProps<T> = {
export type TablePropsV4<T> = {
/** The data for the table that needs to display. */
data: Row<T>[];
/** An array of titles or objects to define columns. */
Expand Down Expand Up @@ -117,7 +117,7 @@ function TableV4<T>({
actionWidth,
isInitiallyExpanded = false,
dataTestIdPrefix,
}: TableProps<T>) {
}: TablePropsV4<T>) {
const breakpoints = useBreakpoints();
const actionCellWidth = actionWidth ? `${actionWidth}%` : breakpoints.des1920 ? '5%' : '7%';

Expand Down

0 comments on commit 80a3934

Please sign in to comment.