From 47bba278f414a5f98a3a0891b07278bdd3ac754d Mon Sep 17 00:00:00 2001 From: Aleksandr Voznesenskii Date: Tue, 28 Mar 2023 16:18:02 +0200 Subject: [PATCH] chore(docs): updated props for inventory table --- doc/props_table.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/props_table.md b/doc/props_table.md index 4c7c8fd76..dbc0e28c3 100644 --- a/doc/props_table.md +++ b/doc/props_table.md @@ -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