# UITooltip

A tooltip component

**Since**: 6.0.0 (3.0.0)

## Properties

| Name  | Type      | Default | Description                                                                |
| ----- | --------- | ------- | -------------------------------------------------------------------------- |
| title | `string`  |         | **Required** - Tooltip title                                               |
| text  | `string`  |         | **Required** - Tooltip text                                                |
| show  | `boolean` | `false` | If the tooltip should be visible                                           |
| fixed | `boolean` | `false` | Set to true if the tooltip should be possisioned fixed instead of absolute |

## Example

```javascript
import {UITooltip} from 'writer'

render($$) {
    const el = $$('div')

    return el.append(
        $$(UITooltip, {
            title: 'My neat tooltip',
            text: 'Hello World',
            fixed: false,
            show: true
        })
    )
}
```
