forked from Ivasoft/mattermost-mobile
Fix and unify channel and user list items (#7175)
* Fix channel and user list items * Fixes on members and create a dm lists * Fix tutorial and ipad * Fix test * Address feedback * Several fixes on Android * Fix tests * Address feedback * Add more non breaking strings --------- Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
This commit is contained in:
committed by
GitHub
parent
67f1a2f0c9
commit
a8ee3a1b5a
@@ -5,13 +5,18 @@ import type CustomEmojiModel from '@typings/database/models/servers/custom_emoji
|
||||
import type {StyleProp, TextStyle} from 'react-native';
|
||||
import type {ImageStyle} from 'react-native-fast-image';
|
||||
|
||||
// The intersection of the image styles and text styles
|
||||
type ImageStyleUniques = Omit<ImageStyle, keyof(TextStyle)>
|
||||
export type EmojiCommonStyle = Omit<ImageStyle, keyof(ImageStyleUniques)>
|
||||
|
||||
export type EmojiProps = {
|
||||
emojiName: string;
|
||||
displayTextOnly?: boolean;
|
||||
literal?: string;
|
||||
size?: number;
|
||||
textStyle?: StyleProp<TextStyle>;
|
||||
customEmojiStyle?: StyleProp<ImageStyle>;
|
||||
imageStyle?: StyleProp<ImageStyle>;
|
||||
commonStyle?: StyleProp<EmojiCommonStyle>;
|
||||
customEmojis: CustomEmojiModel[];
|
||||
testID?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user