diff options
Diffstat (limited to 'src/components/Link.tsx')
-rw-r--r-- | src/components/Link.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/Link.tsx b/src/components/Link.tsx index 8bebecbc8..b5f0bc958 100644 --- a/src/components/Link.tsx +++ b/src/components/Link.tsx @@ -1,12 +1,12 @@ import React from 'react' -import {GestureResponderEvent} from 'react-native' +import {type GestureResponderEvent} from 'react-native' import {sanitizeUrl} from '@braintree/sanitize-url' import {StackActions, useLinkProps} from '@react-navigation/native' import {BSKY_DOWNLOAD_URL} from '#/lib/constants' import {useNavigationDeduped} from '#/lib/hooks/useNavigationDeduped' import {useOpenLink} from '#/lib/hooks/useOpenLink' -import {AllNavigatorParams} from '#/lib/routes/types' +import {type AllNavigatorParams} from '#/lib/routes/types' import {shareUrl} from '#/lib/sharing' import { convertBskyAppUrlIfNeeded, @@ -16,10 +16,10 @@ import { } from '#/lib/strings/url-helpers' import {isNative, isWeb} from '#/platform/detection' import {useModalControls} from '#/state/modals' -import {atoms as a, flatten, TextStyleProp, useTheme, web} from '#/alf' -import {Button, ButtonProps} from '#/components/Button' +import {atoms as a, flatten, type TextStyleProp, useTheme, web} from '#/alf' +import {Button, type ButtonProps} from '#/components/Button' import {useInteractionState} from '#/components/hooks/useInteractionState' -import {Text, TextProps} from '#/components/Typography' +import {Text, type TextProps} from '#/components/Typography' import {router} from '#/routes' /** @@ -267,7 +267,7 @@ export function Link({ export type InlineLinkProps = React.PropsWithChildren< BaseLinkProps & TextStyleProp & - Pick<TextProps, 'selectable' | 'numberOfLines'> & + Pick<TextProps, 'selectable' | 'numberOfLines' | 'emoji'> & Pick<ButtonProps, 'label' | 'accessibilityHint'> & { disableUnderline?: boolean title?: TextProps['title'] |