From b1ca04d11e1a32d291f9a9da65b728ee2b3a01c4 Mon Sep 17 00:00:00 2001 From: Nicolas Gallagher Date: Fri, 16 Dec 2016 11:35:11 +0000 Subject: [PATCH] Rename I18nManager example --- .../I18nManager/{RTLExample.js => I18nManagerExample.js} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename examples/apis/I18nManager/{RTLExample.js => I18nManagerExample.js} (93%) 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', () => ( - + ))