--- title: "File Thumbnail" slug: file-thumbnail category: component type: overview version: 20.0.0 tokens: 299 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-file-thumbnail.txt --- # File Thumbnail ## Props | Property | Type | Required | Default | Description | |---|---|---|---|---| | `disabled` | `boolean` | No | undefined | Whether the component is disabled. | | `dismissible` | `boolean` | No | undefined | Whether the component holds a dismiss button. | | `error` | `string` | No | undefined | The file error message to display. | | `file` | `File` | Yes | undefined | The current File object. | | `i18n` | `Partial` | No | undefined | Internal translations override. | | `locale` | `'de' | 'en' | 'es' | 'fr' | 'it' | 'nl' | 'pl' | 'pt'` | No | undefined | The locale used for size formatting and the translation of the internal elements. | | `onFileRemove` | `(detail: FileThumbnailRemoveDetail) => void` | No | undefined | Callback fired when the file is removed. | | `progress` | `number` | No | undefined | The file upload progress. | ## Examples - Default - Progress - Disabled - Non Dismissible - Error ## Documentation pages - [Documentation](./react-components-file-thumbnail--documentation.txt) - [Technical Information](./react-components-file-thumbnail--technical-information.txt) - [Examples](./react-components-file-thumbnail--examples.txt)