react-floating-component
v1.0.1
Published
A React component wrapper that makes it float randomly up, down, left, right.
Downloads
41
Maintainers
Readme
react-floating-component
A React component wrapper that makes it float randomly up, down, left, right.
Install
npm install react-floating-component
Usage
import React from 'react';
import FloatingComponent from 'react-floating-component';
const ExampleComponent = () => {
return (
<FloatingComponent><p>This is a floating paragraph</p></FloatingComponent>
);
};
License
MIT © tanohzana