Skip to content

Commit

Permalink
improve markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Apr 28, 2023
1 parent d6e55b4 commit f96559c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/data/base/components/select/select.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,7 @@ Option renders as an `<li>`:

### Custom structure

Use the `slots.root` prop to override the root slot with a custom element:

```jsx
<Select slots={{ root: 'div' }} />
```

Use the `slots` prop to override any interior slots in addition to the root:
Use the `slots` prop to override the root or any other interior slot:

```jsx
<Select slots={{ root: 'div', listbox: 'ol' }} />
Expand Down

0 comments on commit f96559c

Please sign in to comment.