@redotech/redo-hydrogen
Version:
Utilities to enable and disable Redo coverage on Hydrogen stores
28 lines (25 loc) • 814 B
text/typescript
import { RedoProvider, useRedoCoverageClient } from "./providers/redo-coverage-client";
import { RedoCheckoutButtons } from "./components/redo-checkout-buttons";
import { REDO_REQUIRED_HOSTNAMES } from "./utils/security";
import { CartProductVariantFragment, CartAttributeKey, CartInfoToEnable, RedoContextValue, RedoCoverageClient, RedoError, RedoErrorType } from "./types";
import { LoadState, Loader, useLoad } from './utils/react-utils'
import { RedoInfoCard } from "./components/redo-info-modal";
export {
RedoCheckoutButtons,
RedoProvider,
useRedoCoverageClient,
useLoad,
REDO_REQUIRED_HOSTNAMES,
RedoErrorType,
RedoInfoCard
};
export type {
CartProductVariantFragment,
CartAttributeKey,
CartInfoToEnable,
RedoContextValue,
RedoCoverageClient,
LoadState,
Loader,
RedoError
};