1 | import * as React from 'react';
|
2 | import { Text, TextProps, GestureResponderEvent } from 'react-native';
|
3 | import type { NavigationAction } from '@react-navigation/core';
|
4 | declare type Props = {
|
5 | to: string;
|
6 | action?: NavigationAction;
|
7 | target?: string;
|
8 | onPress?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent) => void;
|
9 | } & (TextProps & {
|
10 | children: React.ReactNode;
|
11 | });
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export default function Link({ to, action, ...rest }: Props): React.CElement<TextProps, Text>;
|
21 | export {};
|