react-flyable-component
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

React FlyAble Component

Version

This is a super simple React component that allows you to make any element flyable and Fixable.

Install

npm install react-flyable-component

yarn add react-flyable-component

Usage

Simply wrap any component with the FlyAble component and pass in the flyAble and fixed props.
There are two options for flyAble and fixed props.
Each option is functionally independent.

<FlyAble flyAble={true} fixed={false}>
    <ExampleComp />
</FlyAble>

Demo

flyAble : true

You can drag Component around the screen.

flyable-option.gif

fixed : true

You can fix Component on the screen.

fixed-option.gif

Package Sidebar

Install

npm i react-flyable-component

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

24.8 kB

Total Files

5

Last publish

Collaborators

  • livemehere