@cometchat/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
18 lines (17 loc) • 943 B
TypeScript
import { ColorValue, ViewStyle } from "react-native";
import { CometChatListStylesInterface } from "../shared";
import { CometChatTheme } from "../theme/type";
import { DeepPartial } from "../shared/helper/types";
export type GroupStyle = CometChatListStylesInterface & {
skeletonStyle: {
backgroundColor?: ColorValue;
linearGradientColors?: [string, string];
shimmerBackgroundColor?: ColorValue;
shimmerOpacity?: number;
speed?: number;
containerBackgroundColor?: ColorValue;
};
headerContainerStyle: ViewStyle;
};
export declare const getGroupListStyleLight: (color: CometChatTheme["color"], spacing: CometChatTheme["spacing"], typography: CometChatTheme["typography"]) => DeepPartial<GroupStyle>;
export declare const getUserGroupStyleDark: (color: CometChatTheme["color"], spacing: CometChatTheme["spacing"], typography: CometChatTheme["typography"]) => DeepPartial<GroupStyle>;