diff --git a/packages/react/src/components/Modal/Modal-story.js b/packages/react/src/components/Modal/Modal-story.js index 1cc16a6e1fdc..a6ab1f13eaca 100644 --- a/packages/react/src/components/Modal/Modal-story.js +++ b/packages/react/src/components/Modal/Modal-story.js @@ -25,7 +25,7 @@ const props = () => ({ 'Enter key to submit (shouldSubmitOnEnter)', false ), - focusTrap: boolean('Trap focus (focusTrap', false), + focusTrap: boolean('Trap focus (focusTrap)', false), modalHeading: text('Modal heading (modalHeading)', 'Modal heading'), modalLabel: text('Optional label (modalLabel)', 'Label'), modalAriaLabel: text( diff --git a/packages/react/src/components/ModalWrapper/ModalWrapper-story.js b/packages/react/src/components/ModalWrapper/ModalWrapper-story.js index 74a0dc1b9d78..27522d38c2ee 100644 --- a/packages/react/src/components/ModalWrapper/ModalWrapper-story.js +++ b/packages/react/src/components/ModalWrapper/ModalWrapper-story.js @@ -68,6 +68,7 @@ const props = () => { 'Close after submit (shouldCloseAfterSubmit)', true ), + focusTrap: boolean('Trap focus (focusTrap)', false), onBlur: action('onBlur'), onClick: action('onClick'), onFocus: action('onFocus'),