WIP
This commit is contained in:
parent
ec7252ac4d
commit
c70b50fefc
2 changed files with 37 additions and 3 deletions
|
|
@ -1,12 +1,45 @@
|
|||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
|
||||
import React from 'react';
|
||||
import {Text} from 'react-native';
|
||||
import React, {useMemo} from 'react';
|
||||
import {View} from 'react-native';
|
||||
|
||||
import {useTheme} from '@app/context/theme';
|
||||
import {changeOpacity, getKeyboardAppearanceFromTheme, makeStyleSheetFromTheme} from '@app/utils/theme';
|
||||
import SearchBar from '@components/search';
|
||||
|
||||
const getStyleSheet = makeStyleSheetFromTheme((theme: Theme) => ({
|
||||
container: {
|
||||
|
||||
},
|
||||
inputContainerStyle: {
|
||||
|
||||
},
|
||||
inputStyle: {
|
||||
|
||||
},
|
||||
listContainer: {
|
||||
|
||||
},
|
||||
}));
|
||||
|
||||
const TeamSelectorList = () => {
|
||||
const theme = useTheme();
|
||||
const styles = getStyleSheet(theme);
|
||||
|
||||
const color = useMemo(() => changeOpacity(theme.centerChannelColor, 0.72), [theme]);
|
||||
|
||||
return (
|
||||
<Text>{'I am a Team Selector List!'}</Text>
|
||||
<View style={styles.container}>
|
||||
<SearchBar
|
||||
autoCapitalize='none'
|
||||
autoFocus={true}
|
||||
keyboardAppearance={getKeyboardAppearanceFromTheme(theme)}
|
||||
placeholderTextColor={color}
|
||||
searchIconColor={color}
|
||||
testID='convert_gm_to_channel_team_search_bar'
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -134,3 +134,4 @@ const FindChannels = ({closeButtonId, componentId}: Props) => {
|
|||
};
|
||||
|
||||
export default FindChannels;
|
||||
|
||||
Loading…
Reference in a new issue