From 2bfcc6f4ad343280fd6f01a5ab9cfa6b37a22f24 Mon Sep 17 00:00:00 2001 From: Florian BOUILLON Date: Tue, 30 Mar 2021 16:59:04 +0200 Subject: [PATCH] Misc changes to Link Signed-off-by: Florian BOUILLON --- src/dzeio/Link/index.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/dzeio/Link/index.tsx b/src/dzeio/Link/index.tsx index 879b647..e1ed69a 100644 --- a/src/dzeio/Link/index.tsx +++ b/src/dzeio/Link/index.tsx @@ -6,13 +6,18 @@ import css from './Link.module.styl' import { buildClassName } from '../Util' interface Props { + linkProps?: React.DetailedHTMLProps, HTMLAnchorElement> href: string children?: React.ReactNode className?: string /** - * Override external detection system + * Remove styling */ noStyle?: boolean + + /** + * Override external detection system + */ external?: boolean } @@ -24,6 +29,7 @@ export default class Link extends React.Component { // external link return ( { return ( {this.props.children}