From bc463802d975e7218ef8bdb5edf022d55f9ed3d0 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 7 May 2024 14:30:00 -0700 Subject: [PATCH] Updated JSdocs --- Client/src/Components/Button/index.jsx | 12 ++++++++---- Client/src/Components/Label/BaseLabel.jsx | 2 +- Client/src/Components/Label/ColoredLabel.jsx | 5 ++++- Client/src/Components/Label/StautsLabel.jsx | 3 +++ 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/Client/src/Components/Button/index.jsx b/Client/src/Components/Button/index.jsx index 4d479495e..66a345746 100644 --- a/Client/src/Components/Button/index.jsx +++ b/Client/src/Components/Button/index.jsx @@ -21,10 +21,14 @@ const levelConfig = { }; /** - * @param {Object} Props - * @param {'primary' | 'secondary' | 'tertiary' | 'error'} level - The level of the button - * @param {string} label - The label of the button - * @param {boolean} [disabled] - Whether the button is disabled + * @param {Object} props + * @param {'primary' | 'secondary' | 'tertiary' | 'error'} props.level - The level of the button + * @param {string} props.label - The label of the button + * @param {boolean} [props.disabled] - Whether the button is disabled + * @returns {JSX.Element} + * @example + * // Render an error button + *