Skip to content

Commit 6b83293

Browse files
committed
docs: buttons
1 parent 3b92ebb commit 6b83293

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/ref/Props.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,15 +171,17 @@ A simple section header to help group fields together
171171
}
172172
```
173173
174-
### Button
174+
### Buttons
175175
176-
A button that when pressed can execute something in the running instance of the app.
176+
Displays one or more buttons that when clicked, execute something in the running app.
177177
178178
```jsx
179179
{
180-
type: 'button',
180+
type: 'buttons',
181181
key: String, // a unique `key` for this button
182182
label: String, // the label for the button
183-
onClick: Function, // the function that is called when the button is pressed.
183+
buttons: [
184+
...{ label: String, onClick: Function },
185+
]
184186
}
185187
```

0 commit comments

Comments
 (0)