UNPKG

@konstructio/ui

Version:

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

14 lines (13 loc) 337 B
import { useContext as o } from "react"; import { MultiSelectDropdownContext as e } from "./MultiSelectDropdown.context.js"; const i = () => { const t = o(e); if (!t) throw new Error( "useMultiSelectDropdown must be used within a MultiSelectDropdownProvider" ); return t; }; export { i as useMultiSelectDropdown };