1.0.6 • Published 7 years ago

react-microtip v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

React Micro Tip

Minimal, beautiful React tooltip component. Only 3kb minifed and gzip screen shot 2017-05-26 at 3 54 50 ch

Installation

npm

npm install react-microtip --save

*yarn

yarn add react-microtip --save

Usage

import Microtip from 'react-microtip';

<Microtip
  content={"This tip is nice!"}
  duration={180}
  delay={0}
  easing="ease-in-out"
  position="top">
  <div>My Button</div>
</Microtip>

Properties

PropertyIs Required?DescriptionDefault value
contenttrueContent of tooltip
durationfalseThe duration of tooltip transition180
delayfalseThe delay time before showing the tooltip0
easingfalseThe easing applied while transitioning the tooltipease-in-out
positionfalseThe position of tooltip. There are 8 available positions: top, top-left, top-right, bottom, bottom-left, bottom-right, left, righttop

Credits

This project is inspired by Microtip library

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago