Skip to content

Commit

Permalink
docs: Updated props for inventory table [skip ci] (#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fewwy authored Mar 29, 2023
1 parent 307494b commit 9446f1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/props_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ Function called when table is refreshed.

*object*

Props passed to table component.
Props passed to table component. In addition it is used to pass `actionResolver` props.
That will give you access to the row data, that way you can map through each row and enable/disable kebab action depending on the value. You cannot use both `actions` and `actionResolver` props - choose one.
Example in [Patchman UI](https://github.com/RedHatInsights/patchman-ui/blob/master/src/SmartComponents/Systems/Systems.js#L191)

## paginationProps

Expand Down

0 comments on commit 9446f1d

Please sign in to comment.