Skip to content

Commit 43b9783

Browse files
authored
chore: yarn format (#9683)
## Summary yarn format ;>
1 parent 41582b4 commit 43b9783

3 files changed

Lines changed: 19 additions & 18 deletions

File tree

apps/common-app/src/apps/reanimated/examples/LayoutAnimations/InterruptedExitingExample.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
"use strict";
2-
import React, { useEffect, useState } from "react";
3-
import { ScrollView, StyleSheet, Text, View } from "react-native";
1+
'use strict';
2+
import React, { useEffect, useState } from 'react';
3+
import { ScrollView, StyleSheet, Text, View } from 'react-native';
44
import Animated, {
55
FadeOut,
66
LayoutAnimationConfig,
7-
} from "react-native-reanimated";
8-
import { runOnUI } from "react-native-worklets";
7+
} from 'react-native-reanimated';
8+
import { runOnUI } from 'react-native-worklets';
99

1010
// Repro for https://github.com/software-mansion/react-native-reanimated/issues/7493
1111
//
@@ -44,7 +44,7 @@ export default function InterruptedExitingExample() {
4444
// Stall the UI thread. Everything below happens on the JS thread
4545
// before the UI thread gets to run again.
4646
runOnUI(() => {
47-
"worklet";
47+
'worklet';
4848
const start = performance.now();
4949
while (performance.now() - start < 600) {
5050
// burn
@@ -100,19 +100,19 @@ export default function InterruptedExitingExample() {
100100

101101
const styles = StyleSheet.create({
102102
container: { flex: 1 },
103-
title: { padding: 16, fontWeight: "bold" },
104-
stage: { height: 130, alignItems: "center", justifyContent: "center" },
103+
title: { padding: 16, fontWeight: 'bold' },
104+
stage: { height: 130, alignItems: 'center', justifyContent: 'center' },
105105
screen: {
106106
width: 220,
107107
height: 120,
108-
backgroundColor: "#eee",
109-
alignItems: "center",
110-
justifyContent: "center",
108+
backgroundColor: '#eee',
109+
alignItems: 'center',
110+
justifyContent: 'center',
111111
},
112112
box: {
113113
width: 90,
114114
height: 90,
115-
backgroundColor: "rebeccapurple",
115+
backgroundColor: 'rebeccapurple',
116116
borderRadius: 8,
117117
},
118118
scroll: { flex: 1 },

apps/common-app/src/apps/reanimated/examples/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,9 @@ const RuntimeTestsExample: React.FC = () =>
395395
require('./RuntimeTests/RuntimeTestsExample').default as React.FC
396396
);
397397
const ScreenlessBasic: React.FC = () =>
398-
React.createElement(require('./SharedElementTransitions/ScreenlessBasic').default as React.FC);
398+
React.createElement(
399+
require('./SharedElementTransitions/ScreenlessBasic').default as React.FC
400+
);
399401
const ScreenStackExample: React.FC = () =>
400402
React.createElement(require('./ScreenStackExample').default as React.FC);
401403
const ScreenStackHeaderConfigBackgroundColorExample: React.FC = () =>
@@ -491,8 +493,6 @@ const WithoutBabelPluginExample: React.FC = () =>
491493
const WobbleExample: React.FC = () =>
492494
React.createElement(require('./WobbleExample').default as React.FC);
493495

494-
495-
496496
export const REAPlatform = {
497497
IOS: 'ios',
498498
ANDROID: 'android',

packages/react-native-reanimated/android/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ find_package(fbjni REQUIRED CONFIG)
4848
find_package(ReactAndroid REQUIRED CONFIG)
4949
find_package(react-native-worklets REQUIRED CONFIG)
5050

51-
add_library(reanimated SHARED ${REANIMATED_COMMON_CPP_SOURCES}
52-
${REANIMATED_ANDROID_CPP_SOURCES}
53-
${REANIMATED_NATIVEVIEW_CPP_SOURCES})
51+
add_library(
52+
reanimated SHARED
53+
${REANIMATED_COMMON_CPP_SOURCES} ${REANIMATED_ANDROID_CPP_SOURCES}
54+
${REANIMATED_NATIVEVIEW_CPP_SOURCES})
5455

5556
target_precompile_headers(reanimated PRIVATE
5657
"${ANDROID_CPP_DIR}/ReanimatedPCH.h")

0 commit comments

Comments
 (0)