2.6.2 • Published 7 years ago
fyndiq-component-tooltip v2.6.2
fyndiq-component-tooltip 
A tooltip component for Fyndiq
Installation
The component can be installed through NPM:
npm i -S fyndiq-component-tooltip
Usage
import React from 'react'
import Tooltip from 'fyndiq-component-tooltip'
// Normal usage
<Tooltip text="Help text">Hover me</Tooltip>
// Different position
<Tooltip text="Top help text" position="tl">
Hover me
</Tooltip>
API
The component Stars
has the following customizable props:
Name | Type | Description | Default value |
---|---|---|---|
text | Node | The tooltip text | null |
children | Node | Content over which the tooltip should show up | null |
className | String | Classname of the tooltip wrapper | '' |
wrapperClassName | String | Classname of the dropdown wrapper (parent of className) | '' |
position | String | The position of the tooltip (see Dropdown's API for possible values) | bc |
maxWidth | Number | Max width of the tooltip | 190 |
2.6.2
7 years ago
2.6.1
7 years ago
2.6.0
7 years ago
2.5.2
8 years ago
2.5.1
8 years ago
2.5.0
8 years ago
2.4.1
8 years ago
2.4.0
8 years ago
2.3.3
8 years ago
2.3.2
8 years ago
2.3.1
8 years ago
2.3.0
8 years ago
2.2.0
8 years ago
2.1.10
8 years ago
2.1.9
8 years ago
2.1.8
8 years ago
2.1.7
8 years ago
2.1.6
8 years ago
2.1.5
8 years ago
2.1.4
8 years ago
2.1.3
8 years ago
2.1.2
8 years ago
2.1.1
8 years ago
2.1.0
8 years ago
2.0.3
8 years ago
2.0.2
8 years ago
2.0.1
8 years ago
2.0.1-0
8 years ago
2.0.0
8 years ago
1.2.1
8 years ago
2.0.0-pre.0
8 years ago
1.2.0
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.0
8 years ago
0.2.1
8 years ago