From 1b8d436c6e136ecbc0fd03978085edb17238c311 Mon Sep 17 00:00:00 2001 From: Marc Bender <79178770+mbender74@users.noreply.github.com> Date: Tue, 6 Sep 2022 17:55:40 +0200 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index f0cb80b..d8a78f2 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Titanium BottomSheetController iOS Module iOS 15+ and fallback version for older iOS - UISheetPresentationController +## UPDATE for 1.2.0 +added customDetents (iOS16) ## UPDATE for 1.0.7 now MacCatalyst (15+) compatible @@ -39,6 +41,9 @@ Also new features for the nonSystemSheet! * `detents:{large:bool,medium:bool,small:bool}`
The object of heights where a sheet can rest. *if not set, default to 'medium' only* +* `customDetents:{key:value,key:value....}`
The object of key/value pairs ex: 'customA':100 where a sheet can rest. Multiple pairs possible + + * `preferredCornerRadius:integer`
The corner radius that the sheet attempts to present with. *if not set default to iOS default radius*