Skip to content

Commit 48912d6

Browse files
Merge pull request mui#2116 from subjectix/fix-dialog-raw-code
Fixed raw code of dialog's open prop
2 parents 6f28ad0 + 5b4c559 commit 48912d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/app/components/raw-code/dialog-code.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ let standardActions = [
88
title="Dialog With Standard Actions"
99
actions={standardActions}
1010
actionFocus="submit"
11-
isOpen={this.state.showDialogStandardActions}
11+
open={this.state.showDialogStandardActions}
1212
onRequestClose={this._handleRequestClose}>
1313
The actions in this window are created from the json that's passed in.
1414
</Dialog>
@@ -28,7 +28,7 @@ let customActions = [
2828
<Dialog
2929
title="Dialog With Custom Actions"
3030
actions={customActions}
31-
isOpen={this.state.showDialogCustomActions}
31+
open={this.state.showDialogCustomActions}
3232
onRequestClose={this._handleRequestClose}>
3333
The actions in this window were passed in as an array of react objects.
3434
</Dialog>
@@ -38,7 +38,7 @@ let customActions = [
3838
actions={customActions}
3939
autoDetectWindowHeight={true}
4040
autoScrollBodyContent={true}
41-
isOpen={this.state.showDialogScrollable}
41+
open={this.state.showDialogScrollable}
4242
onRequestClose={this._handleRequestClose}>
4343
<div style={{height: '1000px'}}>
4444
Really long content

0 commit comments

Comments
 (0)