Skip to content

Commit 99cfe5b

Browse files
ncovercashJohnC-80
andauthored
Add missing InfoPopover props (#2198)
Co-authored-by: John Coburn <[email protected]>
1 parent 629c639 commit 99cfe5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/InfoPopover/readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ contentClass | string | `className` for content inside popover |
2525
iconSize | string | The size of the icon (`small` or `medium`) | small
2626
hideOnButtonClick | boolean | Whether to hide popover on anchor button click | false
2727
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. |
28+
buttonProps | object | Pass additional props to the trigger `<IconButton>` | `{}`
29+
popperProps | object | Pass additional props to the underlying `<Popper>` | `{}`
2830

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

0 commit comments

Comments
 (0)