add initialHeight prop

This commit is contained in:
Samuel Newman
2024-10-10 16:22:07 +03:00
parent 2841944789
commit 9ac49485e2
9 changed files with 86 additions and 34 deletions
@@ -27,6 +27,10 @@ public class BottomSheetModule: Module {
view.cornerRadius = CGFloat(prop)
}
Prop("initialHeight") { (view: SheetView, prop: String) in
view.initialHeight = prop
}
Prop("minHeight") { (view: SheetView, prop: Double) in
view.minHeight = prop
}