Skip to content

Commit

Permalink
Merge pull request #13177 from rhamilto/OCPBUGS-19394
Browse files Browse the repository at this point in the history
OCPBUGS-19394:  document kebab menu cell props
  • Loading branch information
openshift-merge-robot committed Sep 22, 2023
2 parents bae2dea + 942578e commit 114258d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/packages/console-dynamic-plugin-sdk/docs/api.md
Expand Up @@ -563,6 +563,10 @@ const PodRow: React.FC<RowProps<K8sResourceCommon>> = ({ obj, activeColumnIDs })
<TableData id={columns[1].id} activeColumnIDs={activeColumnIDs}>
<ResourceLink kind="Namespace" name={obj.metadata.namespace} />
</TableData>
// Important: the kebab menu cell should include the id and className prop values below
<TableData id='' className='pf-c-table__action' activeColumnIDs={activeColumnIDs}>
<MockKebabMenu obj={obj} />
</TableData>
</>
);
};
Expand Down
Expand Up @@ -128,6 +128,10 @@ export const VirtualizedTable: VirtualizedTableFC = require('@console/internal/c
* <TableData id={columns[1].id} activeColumnIDs={activeColumnIDs}>
* <ResourceLink kind="Namespace" name={obj.metadata.namespace} />
* </TableData>
* // Important: the kebab menu cell should include the id and className prop values below
* <TableData id='' className='pf-c-table__action' activeColumnIDs={activeColumnIDs}>
* <MockKebabMenu obj={obj} />
* </TableData>
* </>
* );
* };
Expand Down

0 comments on commit 114258d

Please sign in to comment.