Skip to content

Instantly share code, notes, and snippets.

@muhammadabbas001
Last active November 19, 2023 17:34
Show Gist options
  • Save muhammadabbas001/0398d1e994760fb7655153a4f679d2ef to your computer and use it in GitHub Desktop.
Save muhammadabbas001/0398d1e994760fb7655153a4f679d2ef to your computer and use it in GitHub Desktop.
@GestureState private var dragState = DragState.inactive
@State var carousalLocation = 0
// Parameters which we will pass when call the CarousalView
var itemHeight: CGFloat
var views: [AnyView]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment