component-playground icon indicating copy to clipboard operation
component-playground copied to clipboard

Add onChange callback to Playground

Open janmyler opened this issue 9 years ago • 2 comments

Add onChange prop to <Playground /> to allow propagation of code changes outside of the component – this allows use cases such as storing the changes to localStorage as you type and restoring them in the future.

janmyler avatar Jan 29 '17 14:01 janmyler

@janmyler could you add documentation about this new prop? Seems like a good feature to me.

kylecesmat avatar May 18 '17 17:05 kylecesmat

@janmyler Thanks for implementing this! I'd like to use this feature to generate Github issues at the click of a button:

screen shot 2017-07-15 at 11 10 04 am

Any updates? Otherwise, I'm happy to take this over.

nhunzaker avatar Jul 15 '17 15:07 nhunzaker