diff --git a/code/ui/components/src/components/typography/link/link.tsx b/code/ui/components/src/components/typography/link/link.tsx index fb26a03a0df4..50a46440cbbd 100644 --- a/code/ui/components/src/components/typography/link/link.tsx +++ b/code/ui/components/src/components/typography/link/link.tsx @@ -184,12 +184,13 @@ export interface LinkProps extends LinkInnerProps, LinkStylesProps { } export const Link: FC = ({ - cancel, + cancel = true, children, - onClick, - withArrow, - containsIcon, - className, + onClick = undefined, + withArrow = false, + containsIcon = false, + className = undefined, + style = undefined, ...rest }) => ( = ({ ); - -Link.defaultProps = { - cancel: true, - className: undefined, - style: undefined, - onClick: undefined, - withArrow: false, - containsIcon: false, -};