Link
Link(props: Omit<AnchorHTMLAttributes<HTMLAnchorElement>, href>RouterPushOptions): ReactNode
NOTE: Exotic components are not callable.
Properties
(Mandatory properties are in bold)Properties | Type | Description |
---|---|---|
href | string | Location | |
href | string | Location | |
props | Omit<AnchorHTMLAttributes<HTMLAnchorElement>, href>RouterPushOptions |
Additional properties for advanced use cases
Properties | Type | Description |
---|---|---|
activeClassName | string | |
activeClassName | string | |
activeStyle | CSSProperties | |
activeStyle | CSSProperties | |
Component | ForwardRefRenderFunction<HTMLAnchorElement, LinkComponentProps> | |
Component | ForwardRefRenderFunction<HTMLAnchorElement, LinkComponentProps> | |
exact | boolean | |
exact | boolean | |
isActive | ||
isActive | ||
prefetch | boolean | |
prefetch | boolean | |
replace | boolean | |
replace | boolean | |
scroll | boolean | |
scroll | boolean | |
strict | booleanRefAttributes<HTMLAnchorElement> | |
strict | booleanRefAttributes<HTMLAnchorElement> |