BetaBeta pública — Consulta las notas de lanzamiento
Documentación

Attachment

File attachment display with preview, name, and size.

Paquete
@solidiom/attachment
Versión
0.6.0
Estado
experimental

Generado a partir del código fuente público del paquete.

API

AttachmentFileinterfaz

Propiedades

name
string
size
number
type
string
url?
string

Ver código fuente

AttachmentIconPropsinterfaz

Propiedades

class?
string

hijos: Element

Ver código fuente

AttachmentNamePropsinterfaz

Propiedades

class?
string

hijos: Element

Ver código fuente

AttachmentPreviewPropsinterfaz

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

AttachmentRemovePropsinterfaz

Propiedades

class?
string

hijos: Element

Ver código fuente

AttachmentRootPropsinterfaz

Propiedades

class?
string
file?
AttachmentFile — File metadata to display.
onRemove?
() => void — Called when the remove button is clicked.

hijos: Element

Ver código fuente

AttachmentSizePropsinterfaz

Propiedades

class?
string

hijos: Element

Ver código fuente

Iconcomponente

                        Icon(props: AttachmentIconProps): Element
                      

Propiedades

class?
string

hijos: Element

Ver código fuente

Namecomponente

                        Name(props: AttachmentNameProps): Element
                      

Propiedades

class?
string

hijos: Element

Ver código fuente

Previewcomponente

                        Preview(props: AttachmentPreviewProps): Element
                      

Propiedades

class?
string
style?
string | CSSProperties

hijos: Element

Ver código fuente

Removecomponente

                        Remove(props: AttachmentRemoveProps): Element
                      

Propiedades

class?
string

hijos: Element

Ver código fuente

Rootcomponente

                        Root(props: AttachmentRootProps): Element
                      

Propiedades

class?
string
file?
AttachmentFile — File metadata to display.
onRemove?
() => void — Called when the remove button is clicked.

hijos: Element

Ver código fuente

Sizecomponente

                        Size(props: AttachmentSizeProps): Element
                      

Propiedades

class?
string

hijos: Element

Ver código fuente