Overlays
A set of components for positioning beautiful overlays, tooltips, popovers, and anything else you need.
This component is used to power Tooltips and Popovers.
This is a pass through component from React-Bootstrap.
See React-Bootstrap for additional documentation.
Basic usage
- childrennodeRequiredSpecifies the content of the Overlay.
- containerelementType|funcA component instance, DOM node, or function that returns either. The overlay will be positioned in relation to the target. 
- onEnterfuncCallback fired before the Overlaytransitions in.
- onEnteredfuncCallback fired after the Overlayfinishes transitioning in.
- onEnteringfuncCallback fired as the Overlaybegins to transition in.
- onExitfuncCallback fired right before the Overlaytransitions out
- onExitedfuncCallback fired after the Overlayfinishes transitioning out.
- onExitingfuncCallback fired as the Overlay begins to transition out. 
- onHidefuncA callback invoked by the overlay when it wishes to be hidden. Required if rootCloseis specified.
- placementenum'auto-start' | 'auto' | 'auto-end' | 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start'Default'top'The placement of the Overlayin relation to it's target.
- popperConfigshape{}Default{}A set of popper options and props passed directly to Popper.
- rootCloseboolDefaultfalseSpecify whether the overlay should trigger onHidewhen the user clicks outside the overlay.
- rootCloseEventenum'click' | 'mousedown'Specify event for triggering a “root close” toggle. 
- showboolDefaultfalseSet the visibility of the Overlay.
- targetelementType|funcThe visibility of the Overlay.showis a controlled prop so should be paired withonToggleto avoid breaking user interactions.Manually toggling show does not wait for delay to change the visibility. Controls onToggle.
- transitionfuncDefaultFadeAnimate the entering and exiting of the Overlay. truewill use the<Fade>transition, or a custom react-transition-group<Transition>component can be provided.
- childrenelement|funcRequiredSpecifies the content of the OverlayTrigger.
- overlayelement|funcRequiredAn element or text to overlay next to the target. 
- defaultShowboolDefaultfalseThe initial visibility state of the Overlay.
- delaynumber|shape{}A millisecond delay amount to show and hide the Overlayonce triggered.
- flipboolThe initial flip state of the Overlay.
- onHidenull
- onTogglefuncA callback that fires when the user triggers a change in tooltip visibility. onToggleis called with the desired next show, and generally should be passed back to theshowprop.onTogglefires after the configureddelay.Controls show.
- placementenum'auto-start' | 'auto' | 'auto-end' | 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start'The placement of the Overlayin relation to it's target.
- popperConfigshape{}Default{}A Popper.jsconfig object passed to the the underlying popper instance.
- showboolThe visibility of the Overlay.showis a controlled prop so should be paired withonToggleto avoid breaking user interactions.Manually toggling show does not wait for delay to change the visibility. Controls onToggle.
- targetnull
- triggertriggerType|triggerType[]Default['hover', 'focus']Specify which action or actions trigger Overlayvisibility.