ActionLink

ActionLink lets the user navigate to another page by clicking or tapping on it.

Basic

Basic usage.

Theme color

You can disable the default theme color applied to the ActionLink by setting themeColor to false.

API

ActionLink
PropDescriptionTypeDefault
replaceWhen true, clicking the link will replace the current entry in the history stack instead of adding a new oneboolean-
stateState to persist to the location as Link component in react-routerany-
themeColorWhether to apply theme color on this linkbooleantrue
toDescribes a location that is the destination of some navigationstring | {pathName: string, search: string, hash: string}-