UNPKG

@cometchat/chat-uikit-react-native

Version:

Ready-to-use Chat UI Components for React Native

17 lines (16 loc) 771 B
import { ImageSourcePropType, ImageStyle } from "react-native"; import { CometChatTheme } from "../../../theme/type"; import { JSX } from "react"; export type ReceiptStyles = { waitIcon?: ImageSourcePropType | JSX.Element; sentIcon?: ImageSourcePropType | JSX.Element; deliveredIcon?: ImageSourcePropType | JSX.Element; readIcon?: ImageSourcePropType | JSX.Element; errorIcon?: ImageSourcePropType | JSX.Element; waitIconStyle: ImageStyle; sentIconStyle: ImageStyle; deliveredIconStyle: ImageStyle; readIconStyle: ImageStyle; errorIconStyle: ImageStyle; }; export declare const getMessageReceiptStyle: (color: CometChatTheme["color"], spacing: CometChatTheme["spacing"], typography: CometChatTheme["typography"]) => ReceiptStyles;