Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@ All rules from Number type also apply.

### Select

@todo
A dropdown select. Add options with array:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you might also provide the map style. Here's my take, for a ClojureScript wrapper: https://leva.mentat.org/#select

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if thats useful for general public, also the other Inputs don't have map style either


```jsx
const { difficulty } = useControls({
difficulty: { value: 'easy' , options:['easy', 'medium', 'hard'] },
})
```

### Image

Expand Down