import React from 'react'; import PropTypes from 'prop-types'; import './Tooltip.scss'; import Tippy from '@tippyjs/react'; function Tooltip({ className, placement, content, children, }) { return ( {children} ); } Tooltip.defaultProps = { placement: 'top', className: '', }; Tooltip.propTypes = { className: PropTypes.string, placement: PropTypes.string, content: PropTypes.node.isRequired, children: PropTypes.node.isRequired, }; export default Tooltip;