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

10 lines (9 loc) 389 B
import { Dispatch, SetStateAction } from 'react'; export interface Props { searchTerm: string; setSearchTerm: Dispatch<SetStateAction<string>>; isSearchVisible: boolean; setIsSearchVisible: Dispatch<SetStateAction<boolean>>; } declare const Search: ({ setSearchTerm, searchTerm, isSearchVisible, setIsSearchVisible }: Props) => JSX.Element; export default Search;