import contextFactory from '../contextFactory'; import useConfigContextState from './useConfigContextState'; const { Provider, useContext } = contextFactory(useConfigContextState); // eslint-disable-next-line react-refresh/only-export-components export { Provider as ConfigProvider, useContext as useConfig };