From 60567f8dc02577ab0dff58b25aff034d5d540cc4 Mon Sep 17 00:00:00 2001 From: Thomas de Lange <33953384+ThomasDeLange@users.noreply.github.com> Date: Wed, 3 Jul 2024 21:25:08 +0200 Subject: [PATCH] Update README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9e6df09..fe7c2fa 100644 --- a/README.md +++ b/README.md @@ -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 { @@ -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 {