Skip to content

Commit

Permalink
Add missing InfoPopover props (#2198)
Browse files Browse the repository at this point in the history
Co-authored-by: John Coburn <[email protected]>
  • Loading branch information
ncovercash and JohnC-80 authored Jan 4, 2024
1 parent 629c639 commit 99cfe5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/InfoPopover/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ contentClass | string | `className` for content inside popover |
iconSize | string | The size of the icon (`small` or `medium`) | small
hideOnButtonClick | boolean | Whether to hide popover on anchor button click | false
renderTrigger | func | Render a custom trigger button. The function will receive an object that contains the the `open`-state, a `ref` that needs to be passed onto trigger button and a `toggle`-function for toggling the `<InfoPopover>`. The render function should return a button. |
buttonProps | object | Pass additional props to the trigger `<IconButton>` | `{}`
popperProps | object | Pass additional props to the underlying `<Popper>` | `{}`

The remaining props passed to `<InfoPopover>` will be passed down to the internal `<Popover>`.

0 comments on commit 99cfe5b

Please sign in to comment.