@qbcart/eshop-cart-hooks
Version:
Type to hooks for manipulating the shopping cart across the QBCart EShop ecosystem.
18 lines (17 loc) • 458 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.
*/
/**
* Hook for retrieving the next queued subtotal from LocalDB.
* @return The next queued subtotal to be used.
*/
declare const useSubtotal: () => {
id: string;
amount: number;
quantity: number;
} | undefined;
export default useSubtotal;