redbadger/website-honestly

View on GitHub
site/components/component-renderer/link.js

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
// @flow
import * as React from 'react';
import styles from './styles.css';

type LinkProps = {
  children?: React.Node,
  href: string,
};

export default function Link({ children, href }: LinkProps) {
  return (
    <a className={styles.a} href={href}>
      {children}
    </a>
  );
}