diff --git a/examples/apis/I18nManager/RTLExample.js b/examples/apis/I18nManager/I18nManagerExample.js similarity index 93% rename from examples/apis/I18nManager/RTLExample.js rename to examples/apis/I18nManager/I18nManagerExample.js index 62e9445c..b14348a7 100644 --- a/examples/apis/I18nManager/RTLExample.js +++ b/examples/apis/I18nManager/I18nManagerExample.js @@ -1,8 +1,8 @@ +import { storiesOf } from '@kadira/storybook'; import { I18nManager, StyleSheet, TouchableHighlight, Text, View } from 'react-native' import React, { Component } from 'react'; -import { storiesOf, action } from '@kadira/storybook'; -class RTLExample extends Component { +class I18nManagerExample extends Component { componentWillUnmount() { I18nManager.setPreferredLanguageRTL(false) } @@ -75,5 +75,5 @@ const styles = StyleSheet.create({ storiesOf('api: I18nManager', module) .add('RTL layout', () => ( - + ))