add initialHeight prop
This commit is contained in:
+4
@@ -33,6 +33,10 @@ class BottomSheetModule : Module() {
|
||||
view.disableDrag = prop
|
||||
}
|
||||
|
||||
Prop("initialHeight") { view: BottomSheetView, prop: String ->
|
||||
view.minHeight = prop
|
||||
}
|
||||
|
||||
Prop("minHeight") { view: BottomSheetView, prop: Float ->
|
||||
view.minHeight = prop
|
||||
}
|
||||
|
||||
@@ -52,6 +52,8 @@ class BottomSheetView(
|
||||
}
|
||||
var preventExpansion = false
|
||||
|
||||
var initialHeight = "auto"
|
||||
|
||||
var minHeight = 0f
|
||||
set(value) {
|
||||
field =
|
||||
|
||||
Reference in New Issue
Block a user