Skip to content

Commit 5870d46

Browse files
authored
Remove comments from StyledAccordion component
Removed comments describing the StyledAccordion and StyledAccordionSummary components. Signed-off-by: L Hemanth <143311872+Canbow@users.noreply.github.com>
1 parent f6b3546 commit 5870d46

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/custom/StyledAccordian/StyledAccordian.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ import { styled } from '@mui/material/styles';
22
import MuiAccordion, { AccordionProps } from '@mui/material/Accordion';
33
import MuiAccordionSummary, { AccordionSummaryProps } from '@mui/material/AccordionSummary';
44

5-
/**
6-
* StyledAccordion
7-
* A customized Accordion component with Meshery-specific styling (borders, margins).
8-
*/
95
export const StyledAccordion = styled(MuiAccordion)<AccordionProps>(({ theme }) => ({
106
border: `1px solid ${theme.palette.divider || 'rgba(0, 0, 0, .125)'}`,
117
'&:not(:last-child)': {
@@ -19,10 +15,6 @@ export const StyledAccordion = styled(MuiAccordion)<AccordionProps>(({ theme })
1915
},
2016
}));
2117

22-
/**
23-
* StyledAccordionSummary
24-
* A customized AccordionSummary to match the StyledAccordion look.
25-
*/
2618
export const StyledAccordionSummary = styled(MuiAccordionSummary)<AccordionSummaryProps>(({ theme }) => ({
2719
backgroundColor: theme.palette.mode === 'dark' ? 'rgba(255, 255, 255, .05)' : 'rgba(0, 0, 0, .03)',
2820
borderBottom: `1px solid ${theme.palette.divider || 'rgba(0, 0, 0, .125)'}`,
@@ -33,4 +25,4 @@ export const StyledAccordionSummary = styled(MuiAccordionSummary)<AccordionSumma
3325
margin: '12px 0',
3426
},
3527
},
36-
}));
28+
}));

0 commit comments

Comments
 (0)