--- title: "File Thumbnail" slug: file-thumbnail category: component type: examples version: 20.0.0 tokens: 255 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-file-thumbnail--examples.txt --- # File Thumbnail ## Default ```tsx { const fakeFile = new File(['foo'], 'foo.txt', { type: 'text/plain' }); return ( ); } ``` ## Progress ```tsx { const fakeFile = new File(['foo'], 'foo.txt', { type: 'text/plain' }); return ( ); } ``` ## Disabled ```tsx { const fakeFile = new File(['foo'], 'foo.txt', { type: 'text/plain' }); return ( ); } ``` ## Non Dismissible ```tsx { const fakeFile = new File(['foo'], 'non-dismissible-file.txt', { type: 'text/plain' }); return ( ); } ``` ## Error ```tsx { const fakeFile = new File(['foo'], 'foo.txt', { type: 'text/plain' }); return ( ); } ```