# Preview
Gravity: top - left - right - bottom
# Usage
```javascript
import { ClipRectView } from 'react-native-jjkit'
//View clipped
//using animated value
Animated.createAnimatedComponent(ClipRectView)
```
## Props
| Name | description | type | default |
| --- | --- | --- | --- |
| gravity | set the start of the Rect | String | "top" |
| inset | set inset relative to gravity, y(top,bottom) x(left,right) | Number | 0 |
| progress | set the [progress](../images/cliprecttopprogress.jpg) | Number | 0 |