diff --git a/README.md b/README.md index 51f78c5..978b040 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,13 @@ pod 'Snappable', '~> 0.3.0' ### Basic ```swift +import Snappable + struct ContentView: View { @State private var items: [Item] var body: some View { - ScrollView(.horiaontal) { + ScrollView(.horizontal) { LazyHStack { ForEach(items, id: \.self) { item in ItemView(item)