react-toolbox/components/tooltip
@soyjavi bacb02b8e4 Get real height of parent 2015-11-15 12:13:05 +07:00
..
_config.scss Get real height of parent 2015-11-15 12:13:05 +07:00
index.jsx Get real height of parent 2015-11-15 12:13:05 +07:00
readme.md Proper import path for documentation files 2015-11-10 11:07:43 +01:00
style.scss Get real height of parent 2015-11-15 12:13:05 +07:00

readme.md

Tooltip

A tooltip is Useful for show information on hover in any kind of component. Out of the box react-toolbox offers you a property tooltip in the component <Button>.

import Button from 'react-toolbox/lib/button';
import Tooltip from 'react-toolbox/lib/tooltip';

const TooltipTest = () => (
  <div>
    <p>
      Lorem ipsum dolor sit amet, <strong>consectetur<Tooltip label='This is a auto show tooltip' /></strong> adipiscing elit.
    </p>
    
    <Button label='Button with tooltip' kind='raised' accent tooltip='This is a tooltip by property' />
  </div>
);

Properties

Name Type Default Description
className String '' Set a class to style the Component.
label String The text string to use for the tooltip.