Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
26 lines
901 B
Plaintext
26 lines
901 B
Plaintext
import React from 'react';
|
|
import './index.scss';
|
|
import type { SanitizedCollectionConfig } from 'payload';
|
|
export type ThumbnailProps = {
|
|
className?: string;
|
|
collectionSlug?: string;
|
|
doc?: Record<string, unknown>;
|
|
fileSrc?: string;
|
|
height?: number;
|
|
imageCacheTag?: string;
|
|
size?: 'expand' | 'large' | 'medium' | 'none' | 'small';
|
|
uploadConfig?: SanitizedCollectionConfig['upload'];
|
|
width?: number;
|
|
};
|
|
export declare const Thumbnail: React.FC<ThumbnailProps>;
|
|
type ThumbnailComponentProps = {
|
|
readonly alt?: string;
|
|
readonly className?: string;
|
|
readonly filename: string;
|
|
readonly fileSrc: string;
|
|
readonly imageCacheTag?: string;
|
|
readonly size?: 'expand' | 'large' | 'medium' | 'none' | 'small';
|
|
};
|
|
export declare function ThumbnailComponent(props: ThumbnailComponentProps): React.JSX.Element;
|
|
export {};
|
|
//# sourceMappingURL=index.d.ts.map |