mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-04-21 06:59:17 -04:00
@@ -3,7 +3,6 @@ import { ComponentProps, forwardRef } from 'react';
|
||||
import { useSize } from './utils';
|
||||
|
||||
export interface ImageProps extends ComponentProps<'img'> {
|
||||
cover?: boolean;
|
||||
extension?: string;
|
||||
size: ReturnType<typeof useSize>;
|
||||
}
|
||||
|
||||
@@ -266,7 +266,6 @@ const Thumbnail = forwardRef<HTMLImageElement, ThumbnailProps>(
|
||||
className,
|
||||
blackBarsStyle && size.width === 0 && 'invisible'
|
||||
),
|
||||
cover,
|
||||
style: { ...style, ...(blackBars ? blackBarsStyle : undefined) },
|
||||
size,
|
||||
ref
|
||||
|
||||
Reference in New Issue
Block a user