@shopgate/engage
Version:
Shopgate's ENGAGE library.
5 lines • 346 B
JavaScript
import{useContext}from'react';import FilterPageProvider from"../providers/FilterPageProvider.context";// Adding a return type would break type inference
// eslint-disable-next-line valid-jsdoc
/**
* Returns the value of the filter page provider state.
*/export var useFilterPage=function useFilterPage(){return useContext(FilterPageProvider);};