created settings structure

This commit is contained in:
ue 2018-11-17 23:40:19 +01:00
parent 1810a10c5f
commit 30a61a02f8
5 changed files with 78 additions and 27 deletions

View File

@ -3,50 +3,29 @@ import RootComponent from './root';
import Splash from './splash';
import SteemConnect from './steem-connect/steemConnect';
import { Editor } from './editor';
import { Follows } from './follows';
import { Home } from './home';
import { Login } from './login';
import { Messages } from './messages';
import { Notification } from './notification';
import { Post } from './post';
import { Profile } from './profile';
import { Settings } from './settings';
import { Voters } from './voters';
import { Messages } from './messages';
import { Follows } from './follows';
// import Author from './authorProfile';
// import SideMenu from './sideMenuScreen';
// import Hot from './home/hot';
// import Feed from './home/feed';
// import { SinglePost } from './singlePost';
// import { Profile } from './profile';
// import Wallet from './wallet/wallet';
// import Editor from './editor/editor';
// import Discover from './discover/discover';
// import Settings from './settings/settings';
// import { Notification } from './notification';
export {
Editor,
Follows,
Home,
Login,
Follows,
Messages,
Notification,
PinCode,
Post,
Profile,
RootComponent,
Settings,
Splash,
SteemConnect,
Voters,
Messages,
// Author,
// SideMenu,
// Hot,
// Feed,
// SinglePost,
// Profile,
// Login,
// Wallet,
// Editor,
// Discover,
// Notification,
};

View File

@ -0,0 +1,35 @@
import React, { Component } from 'react';
// Services and Actions
// Middleware
// Constants
// Utilities
// Component
import { SettingsScreen } from '..';
/*
* Props Name Description Value
*@props --> props name here description here Value Type Here
*
*/
class SettingsContainer extends Component {
constructor(props) {
super(props);
this.state = {};
}
// Component Life Cycle Functions
// Component Functions
render() {
return <SettingsScreen {...this.props} />;
}
}
export default SettingsContainer;

View File

@ -0,0 +1,5 @@
import Settings from './container/settingsContainer';
import SettingsScreen from './screen/settingsScreen';
export { SettingsScreen, Settings };
export default Settings;

View File

@ -0,0 +1,32 @@
import React, { Component } from 'react';
import { View } from 'react-native';
// Constants
// Components
class SettingsScreen extends Component {
/* Props
* ------------------------------------------------
* @prop { type } name - Description....
*/
constructor(props) {
super(props);
this.state = {};
}
// Component Life Cycles
// Component Functions
render() {
// eslint-disable-next-line
//const {} = this.props;
// eslint-disable-next-line
return <View />;
}
}
export default SettingsScreen;