1.2.1 • Published 7 years ago

react-clingy v1.2.1

Weekly downloads
12
License
MIT
Repository
github
Last release
7 years ago

react-clingy

Position elements relative to each other in React.

Example

import Clingy from 'react-clingy';

// Inside a render method
<div ref={(ref) => { this.targetRef = ref; }}>Target</div>
...
<Clingy target={this.targetRef} from="25%-10 top" to="left 75%">
  <div>Element to position</div>
</Clingy>
1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago