import { daffCountryEntitiesReducer } from '@daffodil/geography/state'
Reducer function that catches actions and changes/overwrites country entities state.
function daffCountryEntitiesReducer<T extends DaffCountry = DaffCountry>(
state: DaffCountryEntityState<any> = daffCountryEntitiesInitialState
action: DaffGeographyActions<T>
): DaffCountryEntityState<T>
| Parameter | state: DaffCountryEntityState |
|---|---|
| Default | daffCountryEntitiesInitialState |
| Description |
| Parameter | action: DaffGeographyActions |
|---|---|
| Description |