Back to Fluentui

Link Migration

packages/react-components/react-link/library/docs/MIGRATION.md

4.40.2-hotfix2848 B
Original Source

Link Migration

Migration from v8

The existing Link control supports a very similar set of props to the one being proposed with a few differences that are outlined below:

  • componentRef => NOT SUPPORTED - use regular ref instead.
  • styles => NOT SUPPORTED - use new styling system via tokens instead.
  • theme => NOT SUPPORTED
  • underline => inline

Migration from v0

v0 does not currently export a Link component.

Property mapping

v8 Linkv9 Link
componentRef-
disableddisabled
hrefhref
onClickonClick
relrel
styles-
targettarget
theme-
typetype
underlineinline