clone: remove vars prop, add "props" prop for overriding anything

This commit is contained in:
jean-emmanuel 2017-08-02 10:46:55 +02:00
parent 877a13a508
commit 7209a64d89
2 changed files with 16 additions and 3 deletions

View file

@ -138,3 +138,15 @@ Modals are buttons that turn into a centered popup panels when enabled. They can
- type: `string`
- default: `empty`
- usage: `id` of the widget to clone
### `props`
- type: `object`
- default: `{}`
- usage: cloned widget's properties to override
- example:
```json
{
"variables": { "n": 2 },
"color": "orange"
}
```