Skip to content

Commit

Permalink
added renderToggle prop details to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshbhutkar committed Dec 27, 2024
1 parent 92855a8 commit dfe66b2
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,10 @@ If passed, children are rendered inside the dropdown.
- Required: No

If passed, children are rendered inside the dropdown. If a function is provided for this prop, it will receive an object with the `onClose` prop as an argument.

### renderToggle

- Type: `func`
- Required: No

If passed, it will be used to render the provided button instead of the default one. It should accept and pass through `button` props to a `button` element.

0 comments on commit dfe66b2

Please sign in to comment.