s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Messages · Components

AttachmentChip

No summary has been written for AttachmentChip. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { AttachmentChip } from '@happyvertical/smrt-messages/svelte';
Import path
@happyvertical/smrt-messages/svelte
Props
2
Props described
2 of 2
Bindable state
0
Callback events
1
Verified release
0.44.0

Props

NameTypeRequiredDescription
attachmentAttachmentDataYesFile attachment to display with icon, name, and size.
onclick(attachment: AttachmentData) => voidNoCalled when user clicks on the attachment chip.

Bindable state

This component has no bindable public state.

Callback events

  • onclick(attachment: AttachmentData) => void

Examples and explanation