I have a problem with compose. I try implement simple calendar. I already have displayed month, and enabled change months by arrows.

[![enter image description here](https://i.stack.imgur.com/IRUnr.png)](https://i.stack.imgur.com/IRUnr.png)

Now I want to add change month by swipe.
I tried with `.swipeable`

This is sample:

```
val size = remember { mutableStateOf(Size.Zero) }
val swipeableState = rememberSwipeableState(0)
val width = if (size.value.width == 0f) 1f else size.value.width - 60.dp.value * 2
Box(
    modifier = Modifier
        .fillMaxWidth()
        .onSizeChanged { size.value = Size(it.width.toFloat(), it.height.toFloat()) }
        .swipeable(
            state = swipeableState,
            anchors = mapOf(0f to 0, width to 1),
            thresholds = { _, _ -> FractionalThreshold(0.3f) },
            orientation = Orientation.Horizontal
        )
        .background(Color.LightGray)
) {
    Box(
        Modifier
            .offset { IntOffset(swipeableState.offset.value.roundToInt(), 0) }
            .size(60.dp)
            .background(Color.DarkGray)
    )
}

```

But this not work perfectly. I need to hold outside calendar area and I don't have idea how change state of month (that respond for display calendar).

My question is "how to implement swipe if I want invoke action after swipe".