Skip to content

Commit 125e053

Browse files
committed
chore: run yarn format:fix
1 parent 01e3b6d commit 125e053

File tree

5 files changed

+35
-12
lines changed

5 files changed

+35
-12
lines changed

examples/default/src/components/ListTile.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ interface ListTileProps extends PropsWithChildren {
1111
accessibilityLabel?: string;
1212
}
1313

14-
export const ListTile: React.FC<ListTileProps> = ({ title,
15-
subtitle,
16-
onPress,
17-
children,
18-
testID,
19-
truncateSubtitle = false,
20-
accessibilityLabel, }) => {
14+
export const ListTile: React.FC<ListTileProps> = ({
15+
title,
16+
subtitle,
17+
onPress,
18+
children,
19+
testID,
20+
truncateSubtitle = false,
21+
accessibilityLabel,
22+
}) => {
2123
return (
2224
<Pressable
2325
onPress={onPress}

examples/default/src/components/Select.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ interface SelectProps<T> {
1818
accessibilityLabel?: string;
1919
}
2020

21-
export function Select<T>({ label, items, onValueChange, testID, accessibilityLabel }: SelectProps<T>) {
21+
export function Select<T>({
22+
label,
23+
items,
24+
onValueChange,
25+
testID,
26+
accessibilityLabel,
27+
}: SelectProps<T>) {
2228
const initialItem = items.find((i) => i.isInitial) ?? items[0];
2329
const [selectedItem, setSelectedItem] = useState(initialItem);
2430

examples/default/src/screens/apm/HttpScreen.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,11 @@ export const HttpScreen: React.FC = () => {
161161
<ListTile title="DELETE" onPress={makeDeleteCall} testID="http_delete_request" />
162162
<ListTile title="PUT" onPress={makePutCall} testID="http_put_request" />
163163
<ListTile title="PATCH" onPress={makePatchCall} testID="http_patch_request" />
164-
<ListTile title="Download Image" onPress={makeDownloadImageCall} testID="http_download_request" />
164+
<ListTile
165+
title="Download Image"
166+
onPress={makeDownloadImageCall}
167+
testID="http_download_request"
168+
/>
165169
</Screen>
166170
);
167171
};

examples/default/src/screens/bug-reporting/DisclaimerTextScreen.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,17 @@ export const DisclaimerTextScreen: React.FC<
3434
accessibilityLabel="id_disclaimer_input"
3535
multiline={true}
3636
/>
37-
<Button onPress={handleSave} testID="id_disclaimer_save" accessibilityLabel="id_disclaimer_save">
37+
<Button
38+
onPress={handleSave}
39+
testID="id_disclaimer_save"
40+
accessibilityLabel="id_disclaimer_save">
3841
Save
3942
</Button>
40-
<Button colorScheme="danger" onPress={() => setLocalText('')} testID="id_disclaimer_clear" accessibilityLabel="id_disclaimer_clear">
43+
<Button
44+
colorScheme="danger"
45+
onPress={() => setLocalText('')}
46+
testID="id_disclaimer_clear"
47+
accessibilityLabel="id_disclaimer_clear">
4148
Clear
4249
</Button>
4350
</VStack>

examples/default/src/screens/bug-reporting/UserConsentScreen.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,11 @@ export const UserConsentScreen: React.FC<
136136
onValueChange={setActionType}
137137
/>
138138
</View>
139-
<Button mt="4" onPress={handleSubmit} testID="id_submit_consent" accessibilityLabel="id_submit_consent">
139+
<Button
140+
mt="4"
141+
onPress={handleSubmit}
142+
testID="id_submit_consent"
143+
accessibilityLabel="id_submit_consent">
140144
Add User Consent
141145
</Button>
142146
</VStack>

0 commit comments

Comments
 (0)