1.2.1 • Published 8 years ago

react-clingy v1.2.1

Weekly downloads
12
License
MIT
Repository
github
Last release
8 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

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago