fannypack
Version:
An accessible, composable, and friendly React UI Kit
21 lines (16 loc) • 339 B
JavaScript
// @flow
import React, { type Node } from 'react';
import _Link from './styled';
type Props = {
children: Node,
className?: string
};
const Link = ({ children, className, ...props }: Props) => (
<_Link className={className} {...props}>
{children}
</_Link>
);
Link.defaultProps = {
className: null
};
export default Link;