Skip to content

Commit

Permalink
Merge pull request mui#2116 from subjectix/fix-dialog-raw-code
Browse files Browse the repository at this point in the history
Fixed raw code of dialog's open prop
  • Loading branch information
oliviertassinari committed Nov 10, 2015
2 parents 6f28ad0 + 5b4c559 commit 48912d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/app/components/raw-code/dialog-code.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let standardActions = [
title="Dialog With Standard Actions"
actions={standardActions}
actionFocus="submit"
isOpen={this.state.showDialogStandardActions}
open={this.state.showDialogStandardActions}
onRequestClose={this._handleRequestClose}>
The actions in this window are created from the json that's passed in.
</Dialog>
Expand All @@ -28,7 +28,7 @@ let customActions = [
<Dialog
title="Dialog With Custom Actions"
actions={customActions}
isOpen={this.state.showDialogCustomActions}
open={this.state.showDialogCustomActions}
onRequestClose={this._handleRequestClose}>
The actions in this window were passed in as an array of react objects.
</Dialog>
Expand All @@ -38,7 +38,7 @@ let customActions = [
actions={customActions}
autoDetectWindowHeight={true}
autoScrollBodyContent={true}
isOpen={this.state.showDialogScrollable}
open={this.state.showDialogScrollable}
onRequestClose={this._handleRequestClose}>
<div style={{height: '1000px'}}>
Really long content
Expand Down

0 comments on commit 48912d6

Please sign in to comment.