UNPKG

@drivy/cobalt

Version:

Opinionated design system for Drivy's projects.

11 lines (8 loc) 337 B
import React from 'react'; import Tippy from '@tippyjs/react'; // Will only render the `content` or `render` elements if the tippy is mounted to the DOM. const LazyTippy = (props) => { return props.visible ? React.createElement(Tippy, { ...props }) : null; }; export { LazyTippy as default }; //# sourceMappingURL=LazyTippy.js.map