Skip to content

Commit

Permalink
chore(CatalogFilter): made hideCatalog prop optional
Browse files Browse the repository at this point in the history
Signed-off-by: Rudraksh Tyagi <[email protected]>
Signed-off-by: Parv-gugnani <[email protected]>
  • Loading branch information
dragon-slayer875 authored and Parv-gugnani committed Apr 8, 2024
1 parent beae119 commit b8e9dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/custom/CatalogFilter/CatalogFilter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import { iconMedium } from '../../constants/iconsSizes';
export interface CatalogFilterProps {
catalogVisibility: boolean;
handleCatalogVisibility: () => void;
hideCatalog: boolean;
hideCatalog?: boolean;
classes?: string;
}

function CatalogFilter({
catalogVisibility,
handleCatalogVisibility,
hideCatalog,
hideCatalog = false,
classes = ''
}: CatalogFilterProps): React.JSX.Element {
return (
Expand Down

0 comments on commit b8e9dc5

Please sign in to comment.