This component is used to display a condensed view of a file. When clicked, the user should expect to see a detailed version.
View source codestring
The title to display in the file card
string
className for the element
ReactNode
The description to display in the file card
boolean
Whether the file card component should be highlighted
Default: falsestring
The file's mime type
MouseEventHandler<HTMLButtonElement>
Handler that is called when the file card is clicked
MouseEventHandler<HTMLButtonElement>
Handler that is called when the delete icon is clicked
"alert" | "neutral"
The visual style of the file card
Default: neutral