13.04 components + maps
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
|
||||
// import './style.css'
|
||||
import { StyledLink } from './link.styled'
|
||||
|
||||
export const Link = (props) => {
|
||||
// const className = 'link' + (props.contrast ? ' link__contrast' : '')
|
||||
return (
|
||||
<StyledLink contrast={props.contrast} href={props.href}>
|
||||
{props.children}
|
||||
</StyledLink>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user