Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDeLange authored Jul 3, 2024
1 parent 464e482 commit 60567f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ To declare a CalendarView, call the constructor:

```Swift
struct ContentView: View {
@State private var selectedDate: Data? = nil
@State private var selectedDate: Date? = nil
@State private var selectedRange: MDateRange? = .init()

var body: some View {
Expand All @@ -184,7 +184,7 @@ Your MCalendarView can be customised by calling `configBuilder` inside the initi

```Swift
struct ContentView: View {
@State private var selectedDate: Data? = nil
@State private var selectedDate: Date? = nil
@State private var selectedRange: MDateRange? = .init()

var body: some View {
Expand Down

0 comments on commit 60567f8

Please sign in to comment.