diff --git a/packages/react-native-bottom-tabs/ios/Fabric/RCTTabViewComponentView.mm b/packages/react-native-bottom-tabs/ios/Fabric/RCTTabViewComponentView.mm index 67ba09b..18daaab 100644 --- a/packages/react-native-bottom-tabs/ios/Fabric/RCTTabViewComponentView.mm +++ b/packages/react-native-bottom-tabs/ios/Fabric/RCTTabViewComponentView.mm @@ -156,7 +156,7 @@ - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const & } if (oldViewProps.fontWeight != newViewProps.fontWeight) { - _tabViewProvider.fontWeigth = RCTNSStringFromStringNilIfEmpty(newViewProps.fontWeight); + _tabViewProvider.fontWeight = RCTNSStringFromStringNilIfEmpty(newViewProps.fontWeight); } if (oldViewProps.fontFamily != newViewProps.fontFamily) { diff --git a/packages/react-native-bottom-tabs/ios/TabViewProvider.swift b/packages/react-native-bottom-tabs/ios/TabViewProvider.swift index 3b63452..707a240 100644 --- a/packages/react-native-bottom-tabs/ios/TabViewProvider.swift +++ b/packages/react-native-bottom-tabs/ios/TabViewProvider.swift @@ -145,9 +145,9 @@ public final class TabInfo: NSObject { } } - @objc public var fontWeigth: NSString? { + @objc public var fontWeight: NSString? { didSet { - props.fontWeight = fontWeigth as? String + props.fontWeight = fontWeight as? String } }