hunk.code_window: };
   const STYLES_SECTION_CATEGORY = css({
     marginBottom: spacing[4],
   });
hunk.labels: keep keep keep replace keep
hunk.after_edit:   marginBottom: spacing[5],
  
hunk.file_path: docs/ui/components/Sidebar/SidebarGroup.tsx
hunk.type: replace
file: /*
   * Copyright (c) Meta Platforms, Inc. and affiliates.
   *
   * This source code is licensed under the MIT license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  #import <UIKit/UIKit.h>
  
  #include <ABI48_0_0React/ABI48_0_0renderer/textlayoutmanager/ABI48_0_0RCTFontProperties.h>
  #include <ABI48_0_0React/ABI48_0_0renderer/textlayoutmanager/ABI48_0_0RCTFontUtils.h>
  
  inline static NSTextAlignment ABI48_0_0RCTNSTextAlignmentFromTextAlignment(ABI48_0_0facebook::ABI48_0_0React::TextAlignment textAlignment)
  {
    switch (textAlignment) {
      case ABI48_0_0facebook::ABI48_0_0React::TextAlignment::Natural:
        return NSTextAlignmentNatural;
      case ABI48_0_0facebook::ABI48_0_0React::TextAlignment::Left:
        return NSTextAlignmentLeft;
      case ABI48_0_0facebook::ABI48_0_0React::TextAlignment::Right:
        return NSTextAlignmentRight;
      case ABI48_0_0facebook::ABI48_0_0React::TextAlignment::Center:
        return NSTextAlignmentCenter;
      case ABI48_0_0facebook::ABI48_0_0React::TextAlignment::Justified:
        return NSTextAlignmentJustified;
    }
  }
  
  inline static NSWritingDirection ABI48_0_0RCTNSWritingDirectionFromWritingDirection(
      ABI48_0_0facebook::ABI48_0_0React::WritingDirection writingDirection)
  {
    switch (writingDirection) {
      case ABI48_0_0facebook::ABI48_0_0React::WritingDirection::Natural:
        return NSWritingDirectionNatural;
      case ABI48_0_0facebook::ABI48_0_0React::WritingDirection::LeftToRight:
        return NSWritingDirectionLeftToRight;
      case ABI48_0_0facebook::ABI48_0_0React::WritingDirection::RightToLeft:
        return NSWritingDirectionRightToLeft;
    }
  }
  
  inline static NSLineBreakStrategy ABI48_0_0RCTNSLineBreakStrategyFromLineBreakStrategy(
      ABI48_0_0facebook::ABI48_0_0React::LineBreakStrategy lineBreakStrategy)
  {
    switch (lineBreakStrategy) {
      case ABI48_0_0facebook::ABI48_0_0React::LineBreakStrategy::None:
        return NSLineBreakStrategyNone;
      case ABI48_0_0facebook::ABI48_0_0React::LineBreakStrategy::PushOut:
        return NSLineBreakStrategyPushOut;
      case ABI48_0_0facebook::ABI48_0_0React::LineBreakStrategy::HangulWordPriority:
        if (@available(iOS 14.0, *)) {
          return NSLineBreakStrategyHangulWordPriority;
        } else {
          return NSLineBreakStrategyNone;
        }
      case ABI48_0_0facebook::ABI48_0_0React::LineBreakStrategy::Standard:
        if (@available(iOS 14.0, *)) {
          return NSLineBreakStrategyStandard;
        } else {
          return NSLineBreakStrategyNone;
        }
    }
  }
  
  inline static ABI48_0_0RCTFontStyle ABI48_0_0RCTFontStyleFromFontStyle(ABI48_0_0facebook::ABI48_0_0React::FontStyle fontStyle)
  {
    switch (fontStyle) {
      case ABI48_0_0facebook::ABI48_0_0React::FontStyle::Normal:
        return ABI48_0_0RCTFontStyleNormal;
      case ABI48_0_0facebook::ABI48_0_0React::FontStyle::Italic:
        return ABI48_0_0RCTFontStyleItalic;
      case ABI48_0_0facebook::ABI48_0_0React::FontStyle::Oblique:
        return ABI48_0_0RCTFontStyleOblique;
    }
  }
  
  inline static ABI48_0_0RCTFontVariant ABI48_0_0RCTFontVariantFromFontVariant(ABI48_0_0facebook::ABI48_0_0React::FontVariant fontVariant)
  {
    return (ABI48_0_0RCTFontVariant)fontVariant;
  }
  
  inline static NSUnderlineStyle ABI48_0_0RCTNSUnderlineStyleFromTextDecorationStyle(
      ABI48_0_0facebook::ABI48_0_0React::TextDecorationStyle textDecorationStyle)
  {
    switch (textDecorationStyle) {
      case ABI48_0_0facebook::ABI48_0_0React::TextDecorationStyle::Solid:
        return NSUnderlineStyleSingle;
      case ABI48_0_0facebook::ABI48_0_0React::TextDecorationStyle::Double:
        return NSUnderlineStyleDouble;
      case ABI48_0_0facebook::ABI48_0_0React::TextDecorationStyle::Dashed:
        return NSUnderlinePatternDash | NSUnderlineStyleSingle;
      case ABI48_0_0facebook::ABI48_0_0React::TextDecorationStyle::Dotted:
        return NSUnderlinePatternDot | NSUnderlineStyleSingle;
    }
  }
  
  inline static UIColor *ABI48_0_0RCTUIColorFromSharedColor(const ABI48_0_0facebook::ABI48_0_0React::SharedColor &sharedColor)
  {
    if (!sharedColor) {
      return nil;
    }
  
    if (*ABI48_0_0facebook::ABI48_0_0React::clearColor() == *sharedColor) {
      return [UIColor clearColor];
    }
  
    if (*ABI48_0_0facebook::ABI48_0_0React::blackColor() == *sharedColor) {
      return [UIColor blackColor];
    }
  
    if (*ABI48_0_0facebook::ABI48_0_0React::whiteColor() == *sharedColor) {
      return [UIColor whiteColor];
    }
  
    auto components = ABI48_0_0facebook::ABI48_0_0React::colorComponentsFromColor(sharedColor);
    return [UIColor colorWithRed:components.red green:components.green blue:components.blue alpha:components.alpha];
  }
  