react-toolbox/components/tooltip
Javi Velasco 26cecdc23f Change button properties and support toggle icon buttons 2015-11-17 21:49:27 +01:00
..
_config.scss Get real height of parent 2015-11-15 12:13:05 +07:00
index.jsx Merge 2015-11-15 19:27:47 +01:00
readme.md Change button properties and support toggle icon buttons 2015-11-17 21:49:27 +01:00
style.scss Tooltip using a parent with relative position 2015-11-15 20:48:57 +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' 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.