import { ChannelState } from "../../../state/ChannelState"; import { ConversationState } from "../../../state/ConversationState"; import { CSSProps } from "../../CSSProps"; export interface FileAttachmentDropAreaProps { channel?: ChannelState; children?: React.ReactNode; conversation: ConversationState; conversationType?: "web" | "email"; fileAttachmentsDisabled?: boolean; } export interface FileAttachmentDropAreaStateProps { attachedFiles: Array; } export type FileAttachmentDropAreaImplProps = FileAttachmentDropAreaProps & FileAttachmentDropAreaStateProps; /** * @typedef Theme.FileAttachmentDropThemeProps * @property {CSSProps} MainDropArea - Styles for the main attachment drop area * @property {CSSProps} MainDropAreaError - Additional styles for the main attachment drop area if in error state * @property {CSSProps} Icon - Styles for the icon * @property {CSSProps} Icon - Additional styles for the icon if in error state * @property {CSSProps} Title - Styles for the main line of text * @property {CSSProps} SubTitle - Styles for the secondary line of text */ export interface FileAttachmentDropThemeProps { MainDropArea: CSSProps; MainDropAreaError: CSSProps; Icon: CSSProps; IconError: CSSProps; Title: CSSProps; SubTitle: CSSProps; }