UNPKG

itk-viewer-bootstrap-ui

Version:

[![npm version](https://badge.fury.io/js/itk-viewer-bootstrap-ui.svg)](https://badge.fury.io/js/itk-viewer-bootstrap-ui) ![react-bootstrap version](https://img.shields.io/badge/React%20Bootstap-%3E=1.6.1-brightgreen.svg) [![Documentation Status](https://r

23 lines (20 loc) 497 B
import { assign } from 'xstate' const layersUIMachineOptions = { layerUIActor: { actions: { startDataUpdate: assign({ actorContext: ({ actorContext }) => { actorContext.isDataUpdating = true return actorContext } }), finishDataUpdate: assign({ actorContext: ({ actorContext }) => { actorContext.isDataUpdating = false return actorContext } }) } } } export default layersUIMachineOptions