import React from 'react' ; import { Container } from './styles' ; interface TooltipProps { title : string ; className ? : string ; } const Tooltip = ( { title , className = '' , children , } ) => { return ( < Container className = { className } > { children } < span > { title } < /span> < /Container>); } ; export default Tooltip ;