diff --git a/squarenotsquare/components/Splash.js b/squarenotsquare/components/Splash.js index bfd2a38..b887f6f 100644 --- a/squarenotsquare/components/Splash.js +++ b/squarenotsquare/components/Splash.js @@ -1,5 +1,7 @@ import { Component } from "react"; import { View } from "react-native"; +import { connect, Connect } from "react-redux"; +import { bindActionCreators } from "redux"; class Splash extends Component { constructor(props){ @@ -16,4 +18,17 @@ class Splash extends Component { ); }; -} \ No newline at end of file +} + +function mapStateToProps(){ + +} + +function mapDispatchToProps(){ + let actions = { + //...someActionsGroup + } + return bindActionCreators(actions, dispatch); +} + +export default connect(mapStateToProps, mapDispatchToProps)(Splash); \ No newline at end of file