Fixing playground editing
Summary: editing numerical values didn't work. this fixes it and cleans up the API of the playground Reviewed By: emilsjolander Differential Revision: D6976128 fbshipit-source-id: 9b1ace9d93ba8e597bdfb4842ed6adcaf8b77fd9
This commit is contained in:
committed by
Facebook Github Bot
parent
9c877a621e
commit
699b1f5012
@@ -34,7 +34,7 @@ export default ({pathContext}) => (
|
||||
<EditValue
|
||||
property={prop}
|
||||
value={layout[prop]}
|
||||
onChange={e => onChange(prop, e)}
|
||||
onChange={onChange}
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
|
Reference in New Issue
Block a user