Skip to content

Commit

Permalink
📝 - docs: update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed Dec 6, 2024
1 parent 6883569 commit d6912a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/components/data/attributelist/attributelist.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ export type AttributeListProps<T extends object = object> =
};

/**
* 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 = <T extends object = object>({
title = "",
Expand Down
3 changes: 2 additions & 1 deletion src/components/data/attributetable/attributetable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export type AttributeTableProps<T extends object = object> = {
/**
* 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.
*/
Expand Down

0 comments on commit d6912a6

Please sign in to comment.