Skip to content

Commit 1047205

Browse files
M-i-k-e-lethanshar
authored andcommitted
New Dialog - add missing testID (#552)
1 parent de0b8d6 commit 1047205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/dialog/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,12 +160,12 @@ class Dialog extends BaseComponent {
160160
};
161161

162162
renderDialogView = () => {
163-
const {children, renderPannableHeader, panDirection, containerStyle} = this.props;
163+
const {children, renderPannableHeader, panDirection, containerStyle, testID} = this.props;
164164
const {dialogVisibility} = this.state;
165165
const Container = renderPannableHeader ? View : PanListenerView;
166166

167167
return (
168-
<View style={[this.styles.dialogViewSize]} pointerEvents="box-none">
168+
<View testID={testID} style={[this.styles.dialogViewSize]} pointerEvents="box-none">
169169
<PanningProvider>
170170
<DialogDismissibleView
171171
direction={panDirection}

0 commit comments

Comments
 (0)