0.0.5 • Published 6 years ago

react-rayr-tooltip v0.0.5

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

Description

the tooltip plugin for react.

    1.can be showed in four different directions

Install

npm install react-rayr-tooltip --save

Params

paramtypedescriptdefault
positionStringthe position of the tooltip(can receive one of 'right','left','top','buttom')right
contentStringthe content of the tooltip
classNameStringadd custom styles for the tooltip

Use Demo

import {RayrTooltip} from 'react-rayr-tooltip';

   <RayrTooltip position='top' content={'<div>这是提示框的内容<div>'}>
       鼠标上移出现提示框
   </RayrTooltip>

   tips:don`t forget to import the css file

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago