1 | import * as React from 'react';
|
2 | import { type GestureResponderEvent, Text, type TextProps } from 'react-native';
|
3 | import { type LinkProps } from './useLinkProps';
|
4 | type Props<ParamList extends ReactNavigation.RootParamList> = LinkProps<ParamList> & Omit<TextProps, 'disabled'> & {
|
5 | target?: string;
|
6 | onPress?: (e: React.MouseEvent<HTMLAnchorElement, MouseEvent> | GestureResponderEvent) => void;
|
7 | disabled?: boolean | null;
|
8 | children: React.ReactNode;
|
9 | };
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | export declare function Link<ParamList extends ReactNavigation.RootParamList>({ screen, params, action, href, style, ...rest }: Props<ParamList>): React.CElement<TextProps, Text>;
|
21 | export {};
|
22 |
|
\ | No newline at end of file |