@qbcart/eshop-inventory-hooks
Version:
Types to hooks for querying inventory data from LocalDB.
16 lines (15 loc) • 605 B
TypeScript
/**
* @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.
*/
import type ProductSliderItem from '@qbcart/types/eshop/product-slider-item';
/**
* Hook for retrieving product slider items from LocalDB.
* @param {string} path - Path by which to filter the product slider items to be used.
* @return An array of product slider items to be used.
*/
declare const useProductSliderItems: (path: string) => ProductSliderItem[];
export default useProductSliderItems;