Skip to content

Commit 6213d05

Browse files
Copilotanupriya13
andcommitted
Remove tooltipProperties from src/components directory
Co-authored-by: anupriya13 <[email protected]>
1 parent 6f1190d commit 6213d05

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

src/components/Badge.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ export function Badge(props: {
3131
return (
3232
<View
3333
style={[styles.badgeContainer, {backgroundColor: props.badgeColor}]}
34-
tooltip={props.description}
35-
tooltipProperties={{MaxWidth: 500}}>
34+
tooltip={props.description}>
3635
<Text style={[styles.badgeText, {color: props.textColor}]}>
3736
{props.badgeTitle}
3837
</Text>

src/components/CopyToClipboard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ const CopyToClipboardButton = ({content}: CopyToClipboardButtonProps) => {
4444
accessibilityRole="button"
4545
accessibilityLabel={helpText}
4646
tooltip={helpText}
47-
tooltipProperties={{MaxWidth: 500}}
4847
style={styles.background}
4948
onPress={() => {
5049
Clipboard.setString(content);

src/components/PageScroller.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const PagingButton = ({left, onPress}: PagingButtonProps) => {
2424
accessibilityRole="button"
2525
accessibilityLabel={tooltip}
2626
tooltip={tooltip}
27-
tooltipProperties={{MaxWidth: 500}}
2827
onPress={() => onPress()}
2928
onHoverIn={() => setHover(true)}
3029
onHoverOut={() => setHover(false)}>

src/components/ScreenWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function ScreenWrapper({
8080
<TouchableHighlight
8181
accessibilityRole="button"
8282
accessibilityLabel="Navigation bar hamburger icon"
83-
{...{tooltip: 'Expand Menu', tooltipProperties: {MaxWidth: 500}}}
83+
{...{tooltip: 'Expand Menu'}}
8484
// requires react-native-gesture-handler to be imported in order to pass testing.
8585
// blocked by #125
8686
//accessibilityState={{expanded: useIsDrawerOpen()}}

0 commit comments

Comments
 (0)