* Channel members Add scene Add navigation Add selector Add channel member row Move list view to component for reusability Add user profile picture Add list paging Add onRowPress Add section headers * Review feedback
34 lines
1,007 B
JavaScript
34 lines
1,007 B
JavaScript
// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
|
|
// See License.txt for license information.
|
|
|
|
import Channel from './channel';
|
|
import ChannelDrawer from './channel_drawer';
|
|
import ChannelInfo from './channel_info';
|
|
import ChannelMembers from './channel_members';
|
|
import LoadTeam from './load_team';
|
|
import Login from './login/login_container.js';
|
|
import Mfa from './mfa';
|
|
import RightMenuDrawer from './right_menu_drawer';
|
|
import Root from './root/root_container.js';
|
|
import Search from './search/search_container.js';
|
|
import SelectServer from './select_server/select_server_container.js';
|
|
import SelectTeam from './select_team/select_team_container.js';
|
|
|
|
const scenes = {
|
|
ChannelView: Channel, // Special case the name for this one to avoid ambiguity
|
|
ChannelDrawer,
|
|
ChannelInfo,
|
|
ChannelMembers,
|
|
LoadTeam,
|
|
Login,
|
|
Mfa,
|
|
RightMenuDrawer,
|
|
Root,
|
|
Search,
|
|
SelectServer,
|
|
SelectTeam
|
|
};
|
|
|
|
export function getComponentForScene(key) {
|
|
return scenes[key];
|
|
}
|