( dispatch: Dispatch<AnyAction> )
| 685 | * @returns {DispatchPropsOfControl} dispatch props for a control |
| 686 | */ |
| 687 | export const mapDispatchToControlProps = ( |
| 688 | dispatch: Dispatch<AnyAction> |
| 689 | ): DispatchPropsOfControl => ({ |
| 690 | handleChange(path, value) { |
| 691 | dispatch(update(path, () => value)); |
| 692 | }, |
| 693 | }); |
| 694 | |
| 695 | /** |
| 696 | * Default mapStateToCellProps for enum control. Options is used for populating dropdown list |
no outgoing calls
no test coverage detected
searching dependent graphs…