Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

live rendering of editable examples in component documentation #696

Closed
bytesandwich opened this issue May 26, 2015 · 1 comment
Closed
Labels
docs Improvements or additions to the documentation examples Relating to /examples

Comments

@bytesandwich
Copy link

http://material-ui.com/#/components/dialog

Suppose I could type into the example:

//Standard Actions
var standardActions = [
  { text: 'Cancel' },
  { text: 'Submit', onClick: this._onDialogSubmit, ref: 'submit' }
];

to try out adding disabled: true

//Standard Actions
var standardActions = [
  { text: 'Cancel' },
  { text: 'Submit', onClick: this._onDialogSubmit, ref: 'submit', 

      * * * disabled: true * * * 

  }
];

and the doc page would auto reload and show me the rendered dialog (or error).

@hai-cea
Copy link
Member

hai-cea commented Jun 19, 2015

Thanks @jackphel - Please see #426

@hai-cea hai-cea closed this as completed Jun 19, 2015
@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 25, 2022
@zannager zannager added docs Improvements or additions to the documentation examples Relating to /examples and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation examples Relating to /examples
Projects
None yet
Development

No branches or pull requests

4 participants