AIMessageAttachmentDefaults
object AIMessageAttachmentDefaults
Defaults of AIMessageAttachmentItem.
Functions
Link copied to clipboard
fun colors(imagePlaceholder: Color = MaterialTheme.colorScheme.surfaceContainerHighest, background: Color = MaterialTheme.colorScheme.surfaceContainerLow, border: Color = MaterialTheme.colorScheme.outlineVariant, iconBackground: Color = MaterialTheme.colorScheme.primary, icon: Color = MaterialTheme.colorScheme.onPrimary, name: Color = MaterialTheme.colorScheme.onSurface, details: Color = MaterialTheme.colorScheme.onSurfaceVariant): AIMessageAttachmentColors
The default palette, from the current MaterialTheme.
Link copied to clipboard
fun icons(file: Painter = painterResource(R.drawable.stream_ai_compose_ic_conversation_file), pdf: Painter = painterResource(R.drawable.stream_ai_compose_ic_attachment_pdf), image: Painter = painterResource(R.drawable.stream_ai_compose_ic_image_placeholder), audio: Painter = painterResource(R.drawable.stream_ai_compose_ic_attachment_audio), video: Painter = painterResource(R.drawable.stream_ai_compose_ic_attachment_video), archive: Painter = painterResource(R.drawable.stream_ai_compose_ic_attachment_archive)): AIMessageAttachmentIcons
The default icons.