Installation
npm install --save @types/filestack-react
Summary
This package contains type definitions for filestack-react (https://github.com/filestack/filestack-react).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/filestack-react.
import { ClientOptions, PickerFileMetadata, PickerOptions, PickerResponse } from "filestack-js";
import * as React from "react";
export * as client from "filestack-js";
interface PickerBaseProps {
apikey: string;
pickerOptions?: PickerOptions;
clientOptions?: ClientOptions;
onSuccess?: (result: PickerFileMetadata) => void;
onUploadDone?: (result: PickerResponse) => void;
onError?: (error: PickerFileMetadata) => void;
}
export type PickerInlineProps = PickerBaseProps;
export type PickerOverlayProps = PickerBaseProps;
export type PickerDropPaneProps = PickerBaseProps;
export const PickerInline: React.FC<PickerInlineProps>;
export const PickerOverlay: React.FC<PickerOverlayProps>;
export const PickerDropPane: React.FC<PickerDropPaneProps>;
Additional Details
Credits
These definitions were written by .