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