flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
18 lines (14 loc) • 543 B
JavaScript
'use client';
;
var React = require('react');
const TimelineContentContext = React.createContext(void 0);
function useTimelineContentContext() {
const context = React.useContext(TimelineContentContext);
if (!context) {
throw new Error("useTimelineContentContext should be used within the TimelineContentContext provider!");
}
return context;
}
exports.TimelineContentContext = TimelineContentContext;
exports.useTimelineContentContext = useTimelineContentContext;
//# sourceMappingURL=TimelineContentContext.cjs.map