Skip to content

Commit 0957cc8

Browse files
committed
prettier fix
1 parent 174c387 commit 0957cc8

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/rn-tester/js/examples/DragAndDrop/DragAndDropExample.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const styles = StyleSheet.create({
2424
},
2525
});
2626

27-
2827
function DragDropView(): React.Node {
2928
// $FlowFixMe[missing-empty-array-annot]
3029
const [log, setLog] = React.useState([]);
@@ -75,7 +74,8 @@ function DragDropView(): React.Node {
7574
alignItems: 'center',
7675
marginVertical: 10,
7776
}}>
78-
<Text style={{color: isDraggingOver ? '#1976d2' : '#666', fontSize: 14}}>
77+
<Text
78+
style={{color: isDraggingOver ? '#1976d2' : '#666', fontSize: 14}}>
7979
{isDraggingOver ? 'Release to drop' : 'Drop an image or file here'}
8080
</Text>
8181
</View>
@@ -85,7 +85,9 @@ function DragDropView(): React.Node {
8585
<Text style={{height: 90}}>{log.join('\n')}</Text>
8686
</View>
8787
<View style={{flex: 1}}>
88-
<Text style={{fontWeight: 'bold', marginBottom: 4}}>Dropped Image:</Text>
88+
<Text style={{fontWeight: 'bold', marginBottom: 4}}>
89+
Dropped Image:
90+
</Text>
8991
<Image
9092
source={{uri: imageUri}}
9193
style={{
@@ -202,7 +204,8 @@ function OnPaste(): React.Node {
202204

203205
exports.title = 'Drag and Drop Events';
204206
exports.category = 'UI';
205-
exports.description = 'Demonstrates onDragEnter, onDragLeave, onDrop, and onPaste event handling in TextInput.';
207+
exports.description =
208+
'Demonstrates onDragEnter, onDragLeave, onDrop, and onPaste event handling in TextInput.';
206209
exports.examples = [
207210
{
208211
title: 'Drag and Drop (View)',

packages/rn-tester/js/examples/TextInput/TextInputExample.ios.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ import type {
1515
RNTesterModuleExample,
1616
} from '../../types/RNTesterTypes';
1717
import type {KeyboardTypeOptions} from 'react-native/Libraries/Components/TextInput/TextInput';
18-
// [macOS
19-
import type {
20-
SettingChangeEvent,
21-
} from 'react-native/Libraries/Components/TextInput/TextInput'; // macOS]
18+
import type {SettingChangeEvent} from 'react-native/Libraries/Components/TextInput/TextInput'; // [macOS]
2219

2320
import RNTesterText from '../../components/RNTesterText';
2421
import ExampleTextInput from './ExampleTextInput';

0 commit comments

Comments
 (0)