react-floating-component

1.0.1 • Public • Published

react-floating-component

A React component wrapper that makes it float randomly up, down, left, right.

NPM JavaScript Style Guide

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

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i react-floating-component

    Weekly Downloads

    12

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    12.1 kB

    Total Files

    7

    Last publish

    Collaborators

    • tanohzana