UNPKG

chonky

Version:

A File Browser component for React

4 lines (3 loc) 182 B
import { Nilable } from 'tsdef'; import { FileData } from './file.types'; export declare type ThumbnailGenerator = (file: FileData) => Nilable<string> | Promise<Nilable<string>>;