score:1

Accepted answer
const handleCartChangeStoreShow = value => {
    setStoreState({
        ...storeState,
        cartChangeStoreShow: value,
    });
}

<CartChangeStorePopUp
        visibility={storeState.cartChangeStoreShow}
        setCartChangeStoreShow={handleCartChangeStoreShow}
        orderLineId={storeState.orderLineId}
        storeId={storeState.storeId}
/>

Related Query

More Query from same tag