UNPKG

@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).

13 lines (12 loc) 477 B
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; mutate: any; } declare const SelectConnection: ({ jwt, connections, connection, setConnection, isLoading, mutate }: Props) => JSX.Element; export default SelectConnection;