JS: Format with Prettier v2.4.1 [3/n]

Summary:
Changelog:
[General][Internal]

Reviewed By: zertosh

Differential Revision: D31883447

fbshipit-source-id: cbbf85e4bf935096d242336f41bf0cc5d6f92359
This commit is contained in:
Tim Yung authored and Facebook GitHub Bot committed 2021-11-02 22:14:16 -07:00
1 parent 4e587a1b7d
commit 77ecc7ede1
260 files changed
+1751 -2143

No files matched your search

+3 -5
View File
@@ -21,9 +21,8 @@ type NativeTextProps = $ReadOnly<{
selectionColor?: ?ProcessedColorValue,
}>;
export const NativeText: HostComponent<NativeTextProps> = (createReactNativeComponentClass(
'RCTText',
() => ({
export const NativeText: HostComponent<NativeTextProps> =
(createReactNativeComponentClass('RCTText', () => ({
validAttributes: {
...ReactNativeViewAttributes.UIView,
isHighlighted: true,
@@ -51,8 +50,7 @@ export const NativeText: HostComponent<NativeTextProps> = (createReactNativeComp
},
},
uiViewClassName: 'RCTText',
}),
): any);
})): any);
export const NativeVirtualText: HostComponent<NativeTextProps> =
!global.RN$Bridgeless && !UIManager.hasViewManagerConfig('RCTVirtualText')