import { LinkVariant } from '@preply/ds-core'; import React from 'react'; import type { CommonProps } from '../../props/common/types'; export type LinkProps = CommonProps & { /** * @default 'accentDark' * * @note Use `unsetColors` if you want to preserve the parent colors. */ variant?: LinkVariant; /** * If not passed, the Link never looks pressed. * * When not to pass it: * - if you need part of the text to look like a link, but you need the whole text (or card * containing it ot be pressable). * - You need to extend `hitSlop` because the text is too small and hard to tap. */ onPress?: () => void; /** * @deprecated This is meant for internal DS usage only. Do not use it in your code. * @ignore */ dsInternalSimulation?: 'pressed'; }; /** * Underlined textual links with default colors (unless `unsetColors` variant that in use the * parent's colors). * * This component is not intended to wrap non-text contents, where a mix of `TouchableOpacity` or * `Pressable` is more appropriate. * * @note Link must be a child of or . */ export declare const Link: React.NamedExoticComponent>; //# sourceMappingURL=Link.d.ts.map