From e860056844621fe5f188e0c2ed86bf3d504202af Mon Sep 17 00:00:00 2001 From: bcho892 Date: Sun, 28 Jul 2024 17:20:04 +1200 Subject: [PATCH] add example --- client/src/components/generic/ReusableTable/Table.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/components/generic/ReusableTable/Table.tsx b/client/src/components/generic/ReusableTable/Table.tsx index 640e2d775..8cbd58a0a 100644 --- a/client/src/components/generic/ReusableTable/Table.tsx +++ b/client/src/components/generic/ReusableTable/Table.tsx @@ -36,6 +36,8 @@ interface ITable< * **Optional** callback for when a row is clicked. * * @param uid the identifier for the row, typically an id associated with a user + * @example + * onRowClick={(uid) => openEditPanelForUid(uid)} */ onRowClick?: (uid: string) => void /**