diff --git a/Client/src/Components/Link/index.css b/Client/src/Components/Avatar/index.css similarity index 100% rename from Client/src/Components/Link/index.css rename to Client/src/Components/Avatar/index.css diff --git a/Client/src/Components/Avatar/Avatar.jsx b/Client/src/Components/Avatar/index.jsx similarity index 100% rename from Client/src/Components/Avatar/Avatar.jsx rename to Client/src/Components/Avatar/index.jsx diff --git a/Client/src/Components/Button/index.jsx b/Client/src/Components/Button/index.jsx index 66a345746..a43142be8 100644 --- a/Client/src/Components/Button/index.jsx +++ b/Client/src/Components/Button/index.jsx @@ -18,23 +18,47 @@ const levelConfig = { variant: "contained", color: "error", }, + imagePrimary: { + color: "primary", + variant: "text", + }, + imageSecondary: { + color: "secondary", + variant: "text", + }, + imageTertiary: { + color: "tertiary", + variant: "text", + }, }; /** + * @component * @param {Object} props - * @param {'primary' | 'secondary' | 'tertiary' | 'error'} props.level - The level of the button + * @param {'primary' | 'secondary' | 'tertiary' | 'error' | 'imagePrimary' | 'imageSecondary' | 'imageTertiary'} props.level - The level of the button * @param {string} props.label - The label of the button + * @param {React.ReactNode} props.img - Image for button * @param {boolean} [props.disabled] - Whether the button is disabled + * @param {Object} prps.sx - Styles for the button * @returns {JSX.Element} * @example * // Render an error button - *