UNPKG

ra-core

Version:

Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React

9 lines (6 loc) 200 B
import { useContext } from 'react'; import { StoreContext } from './StoreContext'; /** * Get the Store stored in the StoreContext */ export const useStoreContext = () => useContext(StoreContext);