UNPKG

@shopify/app-bridge-react

Version:

**[Join our team and work on libraries like this one.](https://www.shopify.ca/careers)**

14 lines (13 loc) 546 B
import { SearchPayload, SelectPayload } from '@shopify/app-bridge/actions/Picker'; import type { Options } from '@shopify/app-bridge/actions/Picker'; /** * @unstable This API may be updated without warning in the future */ export interface Props extends Options { open: boolean; onCancel?(): void; onSelect?(selectPayload: SelectPayload): void; onSearch?(searchPayload: SearchPayload): void; onLoadMore?(): void; } export default function Picker({ open, onCancel, onSelect, onSearch, onLoadMore, ...options }: Props): null;