Skip to content

Commit 2fbf5b1

Browse files
committed
fix: fixing typos in code and docs
1 parent ffb24e7 commit 2fbf5b1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/module/patternfly-docs/content/extensions/data-view/examples/Table/Table.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ The `ExpandableContent` interface is defined as:
6767
```typescript
6868
interface ExpandableContent {
6969
/** The ID of the row containing the expandable cell (must match the id property in the row data) */
70-
row_id: number;
70+
rowId: number;
7171
/** The column index (0-based) that should be expandable */
72-
column_id: number;
72+
columnId: number;
7373
/** The content to display when the cell is expanded */
7474
content: ReactNode;
7575
}

packages/module/src/DataViewTableBasic/DataViewTableBasic.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ export interface DataViewTableBasicProps extends Omit<TableProps, 'onSelect' | '
4040
hasResizableColumns?: boolean;
4141
/** Toggles expandable */
4242
isExpandable?: boolean;
43-
/** Toogles sticky colums and headder */
43+
/** Toggles sticky columns and header */
4444
isSticky?: boolean;
45-
/** Toogles draggable rows */
45+
/** Toggles draggable rows */
4646
isDraggable?: boolean;
4747
}
4848

0 commit comments

Comments
 (0)