From d6912a61452d5b2c4b4e4025cb8e63d9782b27fa Mon Sep 17 00:00:00 2001 From: Sven van de Scheur Date: Fri, 6 Dec 2024 14:17:41 +0100 Subject: [PATCH] :memo: - docs: update docstrings --- src/components/data/attributelist/attributelist.tsx | 7 +++++-- src/components/data/attributetable/attributetable.tsx | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/components/data/attributelist/attributelist.tsx b/src/components/data/attributelist/attributelist.tsx index 87d28ca..9b947d2 100644 --- a/src/components/data/attributelist/attributelist.tsx +++ b/src/components/data/attributelist/attributelist.tsx @@ -21,8 +21,11 @@ export type AttributeListProps = }; /** - * AttributeList component, shows multiple `fields` in `object`. - * TODO: tooltip + * AttributeList Component + * + * Shows key/value pairs, optionally grouped by `title`. + * + * @typeParam T - The shape of a single item. */ export const AttributeList = ({ title = "", diff --git a/src/components/data/attributetable/attributetable.tsx b/src/components/data/attributetable/attributetable.tsx index 1fde5e7..5280aca 100644 --- a/src/components/data/attributetable/attributetable.tsx +++ b/src/components/data/attributetable/attributetable.tsx @@ -29,7 +29,8 @@ export type AttributeTableProps = { /** * AttributeTable Component * - * Shows key/value pairs, optionally grouped by `title`. + * Shows key/value pairs. + * @see DataGrid for more advanced table layout. * * @typeParam T - The shape of a single item. */