Skip to content

Commit

Permalink
fix: passthrough other ConfirmModal props (elastic#888)
Browse files Browse the repository at this point in the history
  • Loading branch information
w33ble authored Jul 31, 2018
1 parent 3dca558 commit 6ccbe32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/components/confirm_modal/confirm_modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const ConfirmModal = props => {
confirmButtonText,
cancelButtonText,
className,
...rest
} = props;

const confirm = ev => {
Expand All @@ -29,6 +30,7 @@ export const ConfirmModal = props => {
return (
<EuiOverlayMask>
<EuiConfirmModal
{...rest}
className={`canvasConfirmModal ${className || ''}`}
title={title}
onCancel={cancel}
Expand Down

0 comments on commit 6ccbe32

Please sign in to comment.