From a8a45ca92fd567eb96b00bf71db978225e7c481f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20P=C3=A4ttikangas?= Date: Tue, 28 Jun 2022 14:12:46 +0300 Subject: [PATCH] Remove unnecessary link documentation and fix example link href --- src/core/Link/Link/Link.md | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/src/core/Link/Link/Link.md b/src/core/Link/Link/Link.md index 1576bccd3..2f116d647 100644 --- a/src/core/Link/Link/Link.md +++ b/src/core/Link/Link/Link.md @@ -61,24 +61,6 @@ import { ExternalLink } from 'suomifi-ui-components'; ; ``` -### Change component for the link - -```js -import { Link } from 'suomifi-ui-components'; - -const Component = ({ children, ...passProps }) => ( - foo {children} bar -); - - - Testing -; -``` - ### Router link This component is mainly intended to be used with external libraries/frameworks. @@ -97,7 +79,7 @@ const Component = ({ children, ...passProps }) => ( <> Testing