## 动画
## 动画切换
```
import StackViewStyleInterpolator from 'react-navigation-stack/src/views/StackView/StackViewStyleInterpolator';
const modalTransition = () => ({
screenInterpolator: StackViewStyleInterpolator.forHorizontal,
})
```
```
const scenes = Actions.create(
<Stack hideNavBar key="mainPage" >
<Modal key="root" transitionConfig={modalTransition}>
<Scene key="main" component={Main} title="main" hideNavBar={true} initial={true}/>
<Scene key="MessageDetailIndex" navBar={SecondPageTopBar} component={MessageDetailIndex} title="MessageDetailIndex"/>
</Modal >
</Stack>
)
```