Skip to content

Commit fd76ad6

Browse files
committed
fix naming mismatch on macos callout native component
1 parent d6f04a5 commit fd76ad6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

packages/components/Callout/src/CalloutNativeComponent.macos.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ export const Commands: CalloutNativeCommands = codegenNativeCommands<CalloutNati
77
supportedCommands: ['blurWindow', 'focusWindow'],
88
});
99

10-
// no fabric for Win32, just use requireNativeComponent
11-
export default requireNativeComponent<NativeProps>('RCTCallout') as CalloutComponentType;
10+
// no fabric for macOS, just use requireNativeComponent
11+
// macOS uses FRNCallout (registered by FRNCalloutManager), not RCTCallout
12+
export default requireNativeComponent<NativeProps>('FRNCallout') as CalloutComponentType;

0 commit comments

Comments
 (0)