update json doc for customtablist

This commit is contained in:
Vishnu Sreekumaran Nair committed 2025-04-10 18:32:41 -04:00
1 parent 6b5460c75c
commit 5c160f1844
1 file changed
-12
-12
View File
@@ -4,18 +4,6 @@ import PropTypes from "prop-types";
/**
* CustomTabList component
*
* Wraps MUI's TabList inside a Box to apply consistent styling, specifically a bottom border,
* while avoiding the default top, left, and right borders applied through global MuiTabs overrides.
* This is used to match our tab layout across pages like Account and StatusPage.
*
* @component
* @example
* <CustomTabList value={value} onChange={handleChange}>
* <Tab label="General" value="general" />
* <Tab label="Settings" value="settings" />
* </CustomTabList>
*
* @param {string} value - The currently selected tab's value.
* @param {function} onChange - Callback when a different tab is selected.
* @param {React.ReactNode} children - Tab components to render inside the TabList.