UNPKG

@primer/react-brand

Version:

Primer Brand is a GitHub's design system for creating React-based marketing websites and digital experiences.

11 lines (10 loc) 393 B
import e from "react"; //#region src/Hero/HeroContext.ts var t = ["inline-start", "inline-end"], n = e.createContext(void 0), r = () => { let t = e.useContext(n); if (!t) throw Error("useHeroContext must be used within a HeroProvider"); return t; }; //#endregion export { n as HeroContext, t as HeroMediaInlinePositionOptions, r as useHeroContext }; //# sourceMappingURL=HeroContext.js.map