Skip to content

Commit ba751b4

Browse files
committed
feat: add comments
Signed-off-by: Amit Amrutiya <[email protected]>
1 parent d253ea1 commit ba751b4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/custom/CatalogFilterSection/CatalogFilterSidebar.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,15 @@ export interface StyleProps {
5757
backgroundColor?: string;
5858
sectionTitleBackgroundColor?: string;
5959
fontFamily?: string;
60-
scrollbarWidth?: string;
6160
}
6261

62+
/**
63+
* @function CatalogFilterSidebar
64+
* @description A functional component that renders the filter sidebar.
65+
* @param {Array} value - The data to be filtered.
66+
* @param {Function} setData - A function to set the filtered data.
67+
* @param {Array} lists - An array of filter sections and its options lists.
68+
*/
6369
const CatalogFilterSidebar: React.FC<CatalogFilterSidebarProps> = ({
6470
lists,
6571
setData,

0 commit comments

Comments
 (0)