diff --git a/docs/nativemodulesios.html b/docs/nativemodulesios.html index 29822f846ff..8211e72d918 100644 --- a/docs/nativemodulesios.html +++ b/docs/nativemodulesios.html @@ -17,7 +17,9 @@ CalendarManager.{ RCT_EXPORT(addEvent); NSDate *date = [NSDate dateWithTimeIntervalSince1970:secondsSinceUnixEpoch]; -}
As CalendarManager.addEvent method gets more and more complex, the number of arguments will grow. Some of them might be optional. In this case it's worth considering changing the API a little bit to accept a dictionary of event attributes, like this:
As CalendarManager.addEvent method gets more and more complex, the number of arguments will grow. Some of them might be optional. In this case it's worth considering changing the API a little bit to accept a dictionary of event attributes, like this: