filepond
Version:
FilePond, where files go to stretch their bits.
18 lines (17 loc) • 528 B
TypeScript
export { default as CameraInput } from './index.svelte';
import type { SpringOptions } from '../../../types/index.js';
export interface CameraInputOptions {
name: string;
required?: boolean;
reduceMotion?: boolean;
springOptions?: SpringOptions;
labelCapture?: string;
labelReset?: string;
onerror?: (err: Error) => void;
oncapture?: (file: File) => void;
filename?: ((blob: Blob) => string) | string | undefined;
blobOptions?: {
type?: string;
quality?: number;
};
}