fermoya / SwiftUIPager

Native Pager in SwiftUI
MIT License
1.27k stars 166 forks source link

Fix build issue in docs sample code #305

Closed lewis-smith closed 11 months ago

lewis-smith commented 1 year ago

Change demo code to reflect https://github.com/fermoya/SwiftUIPager/issues/181#issuecomment-763894461 As is the sample code doesn't fails to build with error: Value of type 'Int' has no member 'identifier'