From fdd4f849ee9ed8515a8f9b07cb6bdb1ee4b90e06 Mon Sep 17 00:00:00 2001 From: Buddy-web3 <0buddy.ne@gmail.com> Date: Thu, 29 Feb 2024 06:12:31 +0200 Subject: [PATCH] requested changes --- app/components/CategoriesNav/Menu.tsx | 8 ++++++-- app/routes/tags.$.tsx | 26 +++++++++++++------------- app/routes/tags.all.tsx | 14 +++++++++----- 3 files changed, 28 insertions(+), 20 deletions(-) diff --git a/app/components/CategoriesNav/Menu.tsx b/app/components/CategoriesNav/Menu.tsx index 5fa7fbe0..483d874a 100644 --- a/app/components/CategoriesNav/Menu.tsx +++ b/app/components/CategoriesNav/Menu.tsx @@ -14,12 +14,16 @@ interface CategoriesNavProps { * Id of selected category */ activeCategoryId: number + /** + * Class name for the component + */ + className?: string } -export const CategoriesNav = ({categories, activeCategoryId}: CategoriesNavProps) => { +export const CategoriesNav = ({categories, activeCategoryId, className}: CategoriesNavProps) => { const [search, onSearch] = useState('') return ( -