@navinc/base-react-components
Version:
Nav's Pattern Library
6 lines (3 loc) • 401 B
Markdown
This is an **uncontrolled** tooltip by default. It will render a _right_ tooltip for desktop and a _top_ tooltip for mobile.
The tooltip will try its best to render in a different placement if it does not fit on the screen, regardless of the `placement` prop.
NOTE: You may need to press the storybook 'remount component' button after changing props in order to rerender Tooltip with updated props.