UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

15 lines (12 loc) 454 B
'use client'; import { createContext, useContext } from 'react'; const TimelineItemContext = createContext(void 0); function useTimelineItemContext() { const context = useContext(TimelineItemContext); if (!context) { throw new Error("useTimelineItemContext should be used within the TimelineItemContext provider!"); } return context; } export { TimelineItemContext, useTimelineItemContext }; //# sourceMappingURL=TimelineItemContext.js.map