Skip to content

v0.3.4

Choose a tag to compare

@seawind543 seawind543 released this 27 Dec 10:10
· 23 commits to master since this release

Allow user to override style on tooltip itself by properties tooltipClassName and tooltipStyle

Example:

<Tooltip
    type="infotip"
    placement="top"
    tooltipStyle={{
        wordWrap: 'break-word'
    }}
    content="Pneumonoultramicroscopicsilicovolcanoconiosis is the longest word. Start01234567890123456789012345678901234567890123456789012345678901234567890123456789End Start0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789End"
>
    Hover on me (Top infotip with long article)
</Tooltip>