Link cleanup
This commit is contained in:
@@ -246,7 +246,7 @@ export type InlineLinkProps = React.PropsWithChildren<
|
|||||||
> &
|
> &
|
||||||
Pick<ButtonProps, 'label'> & {
|
Pick<ButtonProps, 'label'> & {
|
||||||
disableUnderline?: boolean
|
disableUnderline?: boolean
|
||||||
title?: string
|
title?: TextProps['title']
|
||||||
}
|
}
|
||||||
|
|
||||||
export function InlineLinkText({
|
export function InlineLinkText({
|
||||||
@@ -382,8 +382,6 @@ export function WebOnlyInlineLinkText({
|
|||||||
{children}
|
{children}
|
||||||
</InlineLinkText>
|
</InlineLinkText>
|
||||||
) : (
|
) : (
|
||||||
<Text selectable={false} accessible={false} {...props}>
|
<Text {...props}>{children}</Text>
|
||||||
{children}
|
|
||||||
</Text>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user