@acodez/tooltip
v1.0.5
Published
![npm_version](https://img.shields.io/npm/v/@acodez/tooltip) ![license](https://img.shields.io/npm/l/@acodez/tooltip)
Downloads
103
Keywords
Readme
@acodez/tooltip
Installation
npm install @acodez/tooltip
Props API
| Property | Type | Required | Default value | Description |
|-----|-----|-----|-----|:-----|
|text|string
|yes|
| tooltip text|
|width|string
|no|
| tooltip width|
|position|string
|no|``| tooltip position 'right' , 'left' , 'top' |
Usage
import Tooltip from '@acodez/tooltip';
import '@acodez/tooltip/dist/index.css';
<Tooltip text="Create" position="right" >
<component/>
</Tooltip>