@ozylog/ui-tooltip

0.3.4 • Public • Published

@ozylog/ui-tooltip

React UI Tooltip with react-jss

Travis npm

Installation

npm install @ozylog/ui-tooltip --save

Usage

<Tooltip />
<Box [click] [hover](default) align=['left' || 'center' (default) || 'right'] />

Usage Example

'use strict';

import React, {Component} from 'react';
import {Tooltip, Box} from '@ozylog/ui-tooltip';

export default class TestContainer extends Component {
  render() {
    return (
      <div className='Test'>
        <Tooltip>
          Hello
          <Box>World1</Box>
          <Box click>World2</Box>
        </Tooltip>
      </div>
    );
  }
}

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @ozylog/ui-tooltip

Weekly Downloads

0

Version

0.3.4

License

SEE LICENSE IN LICENSE

Last publish

Collaborators

  • cahyap