import React from 'react';
import { styled } from '../../styles';
import { buttonReset } from '../../styles/utils';
import { Link } from '../Link';

type Props = React.ComponentProps<typeof Link>;

export const LinkButton = styled(Link)<Props>(buttonReset);

LinkButton.defaultProps = {
  as: 'button',
};
