update design and request pages dashboards & doctors & doctor item & clinics & clinic item and layout
This commit is contained in:
@@ -7,7 +7,7 @@ function a11yProps(index) {
|
||||
};
|
||||
}
|
||||
|
||||
function Tabs({ value, handleChange, listTab, isSm, style }) {
|
||||
function Tabs({ value, handleChange, listTab, inactives, isSm, style }) {
|
||||
return (
|
||||
<Box className="!border-none !w-full">
|
||||
<TabsMUI
|
||||
@@ -24,6 +24,7 @@ function Tabs({ value, handleChange, listTab, isSm, style }) {
|
||||
<Tab
|
||||
key={idx}
|
||||
label={item}
|
||||
disabled={inactives && inactives.includes(idx)}
|
||||
{...a11yProps(idx)}
|
||||
sx={{
|
||||
"&.MuiButtonBase-root": {
|
||||
|
||||
Reference in New Issue
Block a user