Skip to main content

Link

Link

LinkImport

import { Link } from '@dynatrace/strato-components/typography';

Use cases

CodeSandbox

When linking to an internal resource, the Link component typically needs to be polymorphed into a component from a routing library, such as the Link component from the react-router-dom package, so that the respective API can be used.

To polymorph the Link component, pass the desired element to the as property and provide the corresponding props.

CodeSandbox
Still have questions?
Find answers in the Dynatrace Community