Skip to content
This repository has been archived by the owner on Feb 15, 2019. It is now read-only.

Commit

Permalink
Update dependencies on shared element transitions example
Browse files Browse the repository at this point in the history
fbshipit-source-id: cf197cf
  • Loading branch information
brentvatne authored and expbot committed Nov 9, 2016
1 parent 8a9d9a2 commit 0fea96b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
5 changes: 1 addition & 4 deletions example-shared-element-transitions/.babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"presets": ["react-native-stage-0"],
"plugins": [
"transform-decorators-legacy",
],
"presets": ["babel-preset-exponent"]
}
2 changes: 1 addition & 1 deletion example-shared-element-transitions/exp.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: "SharedElements",
description: "Demonstrate usage of shared element transitions in ex-navigation",
slug: "shared-elements",
sdkVersion: "9.0.0",
sdkVersion: "11.0.0",
version: "1.0.0",
orientation: "portrait",
primaryColor: "#cccccc",
Expand Down
4 changes: 2 additions & 2 deletions example-shared-element-transitions/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
StatusBar,
} from 'react-native';

import 'exponent';
import Exponent from 'exponent';

import {
NavigationProvider,
Expand Down Expand Up @@ -40,4 +40,4 @@ class AppContainer extends React.Component {
}
}

AppRegistry.registerComponent('main', () => AppContainer);
Exponent.registerRootComponent(AppContainer);
10 changes: 3 additions & 7 deletions example-shared-element-transitions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
"main": "main.js",
"dependencies": {
"@exponent/ex-navigation": "file:../",
"exponent": "^9.0.0",
"exponent": "^11.0.2",
"lodash": "^4.13.1",
"react": "~15.2.1",
"react-native": "github:exponentjs/react-native#sdk-9.0.0"
},
"devDependencies": {
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-react-native-stage-0": "^1.0.1"
"react": "~15.3.2",
"react-native": "github:exponentjs/react-native#sdk-11.0.3"
}
}

0 comments on commit 0fea96b

Please sign in to comment.