UNPKG

@konstructio/ui

Version:

A set of reusable and customizable React components built for konstruct.io

11 lines (10 loc) 268 B
import { FilterContext as e } from "./filter.context.js"; import { useContext as r } from "react"; var n = () => { const t = r(e); if (!t) throw new Error("useFilterContext must be used within a FilterProvider"); return t; }; export { n as useFilterContext };