Constructor
# <StyledLink />
Component wrapping Link from React Router with styled. It looks exactly like StyledButton
Type Definitions
object
# Props
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
primary |
boolean | If button should be presented as a primary action |
|
children |
ReactNode | Body of the button |
|
onClick |
OnClickHandler |
<optional> |
click callback |
as |
string |
<optional> |
Kind of which element it should be rendered. For example: as: 'a' or as: 'button' |
to |
string | Href |