import { daffPaypalReducer } from '@daffodil/paypal/state'
function daffPaypalReducer<T extends DaffPaypalExpressTokenRequest, V extends DaffPaypalExpressTokenResponse>(
state: DaffPaypalReducerState = initialState
action: DaffPaypalActions<T, V>
): DaffPaypalReducerState
Parameter | state: DaffPaypalReducerState |
---|---|
Default | initialState |
Description |
Parameter | action: DaffPaypalActions |
---|---|
Description |