mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 17:25:13 +03:00
created settings structure
This commit is contained in:
parent
1810a10c5f
commit
30a61a02f8
@ -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,
|
||||
};
|
||||
|
35
src/screens/settings/container/settingsContainer.js
Normal file
35
src/screens/settings/container/settingsContainer.js
Normal 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;
|
5
src/screens/settings/index.js
Normal file
5
src/screens/settings/index.js
Normal file
@ -0,0 +1,5 @@
|
||||
import Settings from './container/settingsContainer';
|
||||
import SettingsScreen from './screen/settingsScreen';
|
||||
|
||||
export { SettingsScreen, Settings };
|
||||
export default Settings;
|
32
src/screens/settings/screen/settingsScreen.js
Normal file
32
src/screens/settings/screen/settingsScreen.js
Normal 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;
|
Loading…
Reference in New Issue
Block a user