diff --git a/modules/bottom-sheet/ios/BottomSheetModule.swift b/modules/bottom-sheet/ios/BottomSheetModule.swift index 488349d2de..5081fda6a5 100644 --- a/modules/bottom-sheet/ios/BottomSheetModule.swift +++ b/modules/bottom-sheet/ios/BottomSheetModule.swift @@ -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) } diff --git a/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx b/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx index a43abc50d8..16c4e86fde 100644 --- a/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx +++ b/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx @@ -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() }