Skip to content

Commit 876edfb

Browse files
authored
Merge pull request #1106 from glints-dev/feature/add-classnames-modal
Add class names to Modal
2 parents 6a48280 + cc48884 commit 876edfb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/@next/Modal/Modal.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ export const Modal = React.forwardRef<HTMLDivElement, ModalProps>(
119119
}
120120

121121
const defaultActionContent = (
122-
<ButtonGroup>
122+
<ButtonGroup className="modal-actions-button-group">
123123
{secondaryAction && (
124124
<Button
125125
onClick={() => secondaryAction.action?.()}
@@ -218,7 +218,9 @@ export const Modal = React.forwardRef<HTMLDivElement, ModalProps>(
218218
{content}
219219
</StyledModalContent>
220220
{hasActions && (
221-
<StyledModalActions>{actionsContent}</StyledModalActions>
221+
<StyledModalActions className="modal-actions">
222+
{actionsContent}
223+
</StyledModalActions>
222224
)}
223225
</StyledModalContainer>
224226
{rightComponent && (

0 commit comments

Comments
 (0)