# Layout Props #

### Props #

#### animation ReactPropTypes.object #

`animation` defines a native per view version of the `LayoutAnimation` This is currently only availble on the native version of react VR

#### layoutOrigin ReactPropTypes.arrayOf(ReactPropTypes.number) #

`layoutOrigin` defines how the final top and left locations are determined prior to rendering The equivalent is computing the world location by `style.left` = -layoutOrigin[0] style.width `style.top` = -layoutOrigin[1] style.height The advantage is that this is calculated after width and height are computed by flex box meaning that it can be used without prior knowledge of the final layout the default is [0,0]

#### renderGroup ReactPropTypes.bool #

`renderGroup` defines a component which is used for depth sorting the components under it. This is generally used on any component which is position `absolute` and transformed.

You can edit the content above on GitHub and send us a pull request!

← Prev Next →