Constructor
# <Link to language color children component className />
Link component based the Link component of @reach/router
coupled with the styles for @material-ui
.
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
to |
string | Yes | Target URL | |
language |
string | No | Target language | |
color |
string | No | Text color | 'secondary' |
children |
node | Yes | Content of the link (text) | |
component |
elementType | No | Base component for internal links | function() |
className |
string | No | @ignore |