Sha256: c6020d4dfce2747a7fa9ace3ed6e4a99068c4f91f94bbb2130c19ce27c4d61ed
Contents?: true
Size: 577 Bytes
Versions: 4
Compression:
Stored size: 577 Bytes
Contents
import React, { PureComponent } from 'react'; import { Tooltip as Tippy } from 'react-tippy'; import 'react-tippy/dist/tippy.css'; // Use a wrapper component even though it doesn't really add any functionality // In the future we'll add a Manager wrapper so that multiple tooltips cannot be shown at once export default class ToolTip extends PureComponent { render() { const { children, ...tipProps } = this.props; return ( <Tippy {...tipProps} > {children} </Tippy> ); } }
Version data entries
4 entries across 4 versions & 1 rubygems