viskan-deku-tooltip

1.0.1 • Public • Published

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

MIT © Viskan Distanshandel System AB

/viskan-deku-tooltip/

    Package Sidebar

    Install

    npm i viskan-deku-tooltip

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • alonalon
    • anton-johansson
    • gillstrom
    • henrikpeszlen
    • michaelbergquistsuarez