Don't persist RTL across examples

This commit is contained in:
Nicolas Gallagher
2016-08-19 16:46:07 -07:00
parent aa53d931d5
commit 6fe3f1f533
+4
View File
@@ -3,6 +3,10 @@ import React, { Component } from 'react';
import { storiesOf, action } from '@kadira/storybook';
class RTLExample extends Component {
componentWillUnmount() {
I18nManager.setPreferredLanguageRTL(false)
}
render() {
return (
<View style={styles.container}>