Skip to content

Commit 1baa4b9

Browse files
author
Vivek Vishal
authored
Merge pull request #1085 from vr-varad/fix/modal_header
Fix: Adding Class to Modal Header and Footer
2 parents 3b8c4e3 + 06936a6 commit 1baa4b9

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>
179+
<ModalStyledHeader className="modal-header">
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 variant={variant} hasHelpText={!!helpText}>
209+
<StyledFooter className="modal-footer" variant={variant} hasHelpText={!!helpText}>
210210
{helpText && (
211211
<CustomTooltip title={helpText} variant="standard" placement="top">
212212
<IconButton>

0 commit comments

Comments
 (0)