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