Skip to content

Commit

Permalink
Merge pull request #5386 from GeekyAnts/fix/typing-link
Browse files Browse the repository at this point in the history
Fix/typing link
  • Loading branch information
surajahmed authored Sep 20, 2022
2 parents f40d9c1 + e22e9f3 commit f691b2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"prettier --write"
]
},
"version": "3.4.15",
"version": "3.4.16",
"license": "MIT",
"private": false,
"main": "lib/commonjs/index",
Expand Down
12 changes: 2 additions & 10 deletions src/components/primitives/Link/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { MutableRefObject } from 'react';
import type { GestureResponderEvent } from 'react-native';
import type { CustomProps, ThemeComponentSizeType } from '../../types';
import type { CustomProps } from '../../types';
import type { InterfaceBoxProps } from '../Box/types';

export interface InterfaceLinkProps extends InterfaceBoxProps<ILinkProps> {
Expand All @@ -11,15 +11,7 @@ export interface InterfaceLinkProps extends InterfaceBoxProps<ILinkProps> {
/**
* Size of the link
*/
size?:
| '2xl'
| 'xl'
| 'lg'
| 'md'
| 'sm'
| 'xsm'
| number
| ThemeComponentSizeType<'Link'>;
size?: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number;
/**
* Whether Link text should be underlined
*/
Expand Down

0 comments on commit f691b2a

Please sign in to comment.