@acodez/tooltip

![npm_version](https://img.shields.io/npm/v/@acodez/tooltip) ![license](https://img.shields.io/npm/l/@acodez/tooltip)

Usage no npm install needed!

<script type="module">
  import acodezTooltip from 'https://cdn.skypack.dev/@acodez/tooltip';
</script>

README

@acodez/tooltip

npm_version license



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>