topics: styled-components
, Link
, react-router
, react-router-dom
, custom styles
, extend component
, styling third party components
Let's take the example of react-router-dom
's Link
component which you may want to style as your own HyperLink
component.
Say you have created a styled.a
component called HyperLink
.