Tooltip component for Deku
$ npm install --save deku-tooltip
import Tooltip from 'deku-tooltip';
const render = () => {
return (
<Tooltip content='Hello world!'>
Hover me!
</Tooltip>
);
};
export default {render};
Type: string
Class on the container element.
Type: string
Default: span
HTML tag on the container element.
Type: string
Content that should appear in the tooltip.
MIT © Kevin Martensson