1.0.1 • Published 8 years ago

viskan-deku-tooltip v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

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