From ea173140717ca0e268e82c7e1fb3e5047434bff9 Mon Sep 17 00:00:00 2001 From: Daniel Cojocea Date: Wed, 24 Jul 2024 14:28:32 -0400 Subject: [PATCH] Added instructions --- Client/src/Components/Inputs/Select/index.jsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Client/src/Components/Inputs/Select/index.jsx b/Client/src/Components/Inputs/Select/index.jsx index 9e637f8d1..f4ed0c39d 100644 --- a/Client/src/Components/Inputs/Select/index.jsx +++ b/Client/src/Components/Inputs/Select/index.jsx @@ -24,6 +24,22 @@ import "./index.css"; * @param {function} props.onChange - The function to handle onChange event. * @param {object} props.sx - The custom styles object for MUI Select component. * @returns {JSX.Element} + * + * @example + * const frequencies = [ + * { _id: 1, name: "1 minute" }, + * { _id: 2, name: "2 minutes" }, + * { _id: 3, name: "3 minutes" }, + * ]; + * + *