UNPKG

@qbcart/eshop-inventory-hooks

Version:

Types to hooks for querying inventory data from LocalDB.

15 lines (14 loc) 485 B
/** * @license * Copyright (c) 2021 QBCart Inc. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source repo. */ /** * Hook for showing the product modal. * @param {string} id - Id of item that product modal should display. * @return A function for showing the product modal. */ declare const useShowProductModal: () => (id: string) => Promise<boolean>; export default useShowProductModal;