UNPKG

react-native-ui-lib

Version:

[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)

10 lines (9 loc) 454 B
/// <reference types="react" /> import { PickerProps } from '../types'; type UsePickerSearchProps = Pick<PickerProps, 'showSearch' | 'onSearchChange' | 'children' | 'getItemLabel' | 'items'>; declare const usePickerSearch: (props: UsePickerSearchProps) => { setSearchValue: import("react").Dispatch<import("react").SetStateAction<string>>; onSearchChange: (searchValue: string) => void; filteredItems: any; }; export default usePickerSearch;