@apideck/file-picker
Version:
A React file picker component that works with the Apideck [File Storage API](https://developers.apideck.com/apis/file-storage/reference).
12 lines (11 loc) • 451 B
TypeScript
import { Dispatch, SetStateAction } from 'react';
import { Connection } from '../types/Connection';
interface Props {
jwt: string;
connection?: Connection;
connections?: Connection[];
setConnection: Dispatch<SetStateAction<Connection | undefined>>;
isLoading: boolean;
}
declare const SelectConnection: ({ jwt, connections, connection, setConnection, isLoading }: Props) => JSX.Element;
export default SelectConnection;