UNPKG

@knowmax/genericlist-core

Version:

Knowmax Generic list with basic CRUD support without any user interface implementation.

3 lines (2 loc) 211 B
/** Returns error message display when calling usePROVIDER at location outside PROVIDER context. */ export const providerErrorMessage = (provider) => `use${provider} must be used within a ${provider}Provider.`;