UNPKG

@payfit/unity-components

Version:

11 lines (10 loc) • 411 B
import { createContext as e, useContext as t } from "react"; //#region src/modules/ai-kit/components/proposal-card/ProposalCard.context.tsx var n = e(null), r = n.Provider; function i() { let e = t(n); if (!e) throw Error("AIProposalCard compound components must be used within an AIProposalCard component"); return e; } //#endregion export { r as ProposalCardContextProvider, i as useProposalCardContext };