Skip to content

Commit 47ecd53

Browse files
committed
OCPBUGS-29423: update TableData doc to use PatternFly 5 classname
1 parent 962ab7b commit 47ecd53

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

frontend/packages/console-dynamic-plugin-sdk/docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ const PodRow: React.FC<RowProps<K8sResourceCommon>> = ({ obj, activeColumnIDs })
563563
<ResourceLink kind="Namespace" name={obj.metadata.namespace} />
564564
</TableData>
565565
// Important: the kebab menu cell should include the id and className prop values below
566-
<TableData id='' className='pf-c-table__action' activeColumnIDs={activeColumnIDs}>
566+
<TableData id='' className='pf-v5-c-table__action' activeColumnIDs={activeColumnIDs}>
567567
<MockKebabMenu obj={obj} />
568568
</TableData>
569569
</>

frontend/packages/console-dynamic-plugin-sdk/src/api/dynamic-core-api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const VirtualizedTable: VirtualizedTableFC = require('@console/internal/c
128128
* <ResourceLink kind="Namespace" name={obj.metadata.namespace} />
129129
* </TableData>
130130
* // Important: the kebab menu cell should include the id and className prop values below
131-
* <TableData id='' className='pf-c-table__action' activeColumnIDs={activeColumnIDs}>
131+
* <TableData id='' className='pf-v5-c-table__action' activeColumnIDs={activeColumnIDs}>
132132
* <MockKebabMenu obj={obj} />
133133
* </TableData>
134134
* </>
@@ -736,7 +736,7 @@ export const NamespaceBar: React.FC<NamespaceBarProps> = require('@console/inter
736736
.NamespaceBar;
737737

738738
/**
739-
* Creates a full page ErrorBoundaryFallbackPage component to display the "Oh no! Something went wrong." message along with the stack trace and other helpful debugging information.
739+
* Creates a full page ErrorBoundaryFallbackPage component to display the "Oh no! Something went wrong." message along with the stack trace and other helpful debugging information.
740740
* This is to be used in conjunction with an `ErrorBoundary` component.
741741
*
742742
* @param {string} errorMessage - text description of the error message
@@ -795,7 +795,7 @@ export const ErrorBoundaryFallbackPage: React.FC<ErrorBoundaryFallbackProps> = r
795795
* ```
796796
*/
797797
export const QueryBrowser: React.FC<QueryBrowserProps> = require('@console/shared/src/components/query-browser')
798-
.QueryBrowser;
798+
.QueryBrowser;
799799

800800
/**
801801
* A hook that provides a callback to launch a modal for editing Kubernetes resource annotations.

0 commit comments

Comments
 (0)