remove updateLayout
This commit is contained in:
@@ -19,9 +19,6 @@ public class BottomSheetModule: Module {
|
|||||||
view.dismiss()
|
view.dismiss()
|
||||||
}
|
}
|
||||||
|
|
||||||
AsyncFunction("updateLayout") { (view: SheetView) in
|
|
||||||
}
|
|
||||||
|
|
||||||
Prop("containerBackgroundColor") { (view: SheetView, prop: UIColor) in
|
Prop("containerBackgroundColor") { (view: SheetView, prop: UIColor) in
|
||||||
view.containerBackgroundColor = prop
|
view.containerBackgroundColor = prop
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -53,10 +53,6 @@ export class BottomSheetNativeComponent extends React.Component<
|
|||||||
this.props.onStateChange?.(event)
|
this.props.onStateChange?.(event)
|
||||||
}
|
}
|
||||||
|
|
||||||
private updateLayout = () => {
|
|
||||||
this.ref.current?.updateLayout()
|
|
||||||
}
|
|
||||||
|
|
||||||
static dismissAll = async () => {
|
static dismissAll = async () => {
|
||||||
await NativeModule.dismissAll()
|
await NativeModule.dismissAll()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user