Skip to content

Commit e491bc3

Browse files
authored
Merge pull request #1089 from layer5io/revert-1085-fix/modal_header
Revert "Fix: Adding Class to Modal Header and Footer"
2 parents e0bc47f + a7f6b51 commit e491bc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/custom/Modal/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export const Modal: React.FC<ModalProps> = ({
176176
{...props}
177177
>
178178
{title && (
179-
<ModalStyledHeader className="modal-header">
179+
<ModalStyledHeader>
180180
{headerIcon && headerIcon}
181181
<Typography component={'div'} variant="h6">
182182
{title}
@@ -206,7 +206,7 @@ export const Modal: React.FC<ModalProps> = ({
206206

207207
export const ModalFooter: React.FC<ModalFooterProps> = ({ helpText, children, variant }) => {
208208
return (
209-
<StyledFooter className="modal-footer" variant={variant} hasHelpText={!!helpText}>
209+
<StyledFooter variant={variant} hasHelpText={!!helpText}>
210210
{helpText && (
211211
<CustomTooltip title={helpText} variant="standard" placement="top">
212212
<IconButton>

0 commit comments

Comments
 (0)