1.0.11 • Published 4 years ago

rctx-tooltip v1.0.11

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

rctx-tooltip

Tooltip package extensively for react library

Installation

npm install --save rctx-tooltip

Usage

import React, { Component } from 'react';
import RCTXTooltip from 'rctx-tooltip';

class Example extends Component {
  render () {
    return (
      <RCTXTooltip>
        <button>Hover over me</button>
      </RCTXTooltip>
    )
  }
}

Key features

  • Accept string or html.
  • Inbuild animation like zoom or fade.
  • Position the tooltip like however you want. You can specify offset as well.
  • Add class to the tooltip or tooltip container element and style it however you want.
  • Bunch of events like onShown or onHidden.
  • Control scroll or resize hide.
  • Append the tooltip anywhere you want.

Options

Checkout the example demo

Contributing 🙏

We will welcome any kind of contribution, small to big, suggestion to bug fixing or even collaborating. You can fork the repo and then make some changes and make a pull request. We will review your code and merge it 👏.

License

MIT © reachtokish

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago