1.0.1 • Published 8 years ago
viskan-deku-tooltip v1.0.1
deku-tooltip
Tooltip component for Deku
Install
$ npm install --save deku-tooltip
Usage
import Tooltip from 'deku-tooltip';
const render = () => {
return (
<Tooltip content='Hello world!'>
Hover me!
</Tooltip>
);
};
export default {render};
API
class
Type: string
Class on the container element.
component
Type: string
Default: span
HTML tag on the container element.
content
Type: string
Content that should appear in the tooltip.
License
1.0.1
8 years ago