@ozylog/ui-tooltip
v0.3.4
Published
React UI Tooltip
Downloads
5
Readme
@ozylog/ui-tooltip
React UI Tooltip with react-jss
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