UNPKG

phx-react

Version:

PHX REACT

16 lines (15 loc) 597 B
import React from 'react'; import { NavigationUrlApply, TSearch } from '../types'; interface SearchProps { search: TSearch; isSearch: boolean; setIsSearch(val: boolean): void; type: 'default' | 'in-card'; setCurrentPage(page: number): void; setOffset(page: number): void; paginationChange?(page: number): void; tableKey: string; configUrlApply?: NavigationUrlApply; } declare function Search({ isSearch, paginationChange, search, setCurrentPage, setIsSearch, setOffset, type, tableKey, configUrlApply, }: SearchProps): React.JSX.Element; export default Search;