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 codestringThe title to display in the file card
stringclassName for the element
ReactNodeThe description to display in the file card
booleanWhether the file card component should be highlighted
Default: falsestringThe 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