remove updateLayout

This commit is contained in:
Hailey
2024-10-09 23:34:55 -07:00
parent df86081d19
commit 975761b5d5
2 changed files with 1 additions and 8 deletions
@@ -19,13 +19,10 @@ public class BottomSheetModule: Module {
view.dismiss()
}
AsyncFunction("updateLayout") { (view: SheetView) in
}
Prop("containerBackgroundColor") { (view: SheetView, prop: UIColor) in
view.containerBackgroundColor = prop
}
Prop("cornerRadius") { (view: SheetView, prop: Float) in
view.cornerRadius = CGFloat(prop)
}
@@ -53,10 +53,6 @@ export class BottomSheetNativeComponent extends React.Component<
this.props.onStateChange?.(event)
}
private updateLayout = () => {
this.ref.current?.updateLayout()
}
static dismissAll = async () => {
await NativeModule.dismissAll()
}