{"size": 541, "ext": "js", "max_stars_repo_path": "src/components/styles/ElementButton.js", "max_stars_repo_name": "itsyst/gatsby-blog", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/styles/ElementButton.js", "max_issues_repo_name": "itsyst/gatsby-blog", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/components/styles/ElementButton.js", "max_forks_repo_name": "itsyst/gatsby-blog", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.05, "max_line_length": 66, "alphanum_fraction": 0.6358595194}
import React from "react"
import styled from "styled-components"
import { Link } from "gatsby"

export const ButtonWrapper = styled(props => <Link {...props} />)`
    padding:0.2rem;
    margin-top: 1rem;
    border-radius: 0.2rem;
    color: ${props => props.theme.colors.greyDark};
    font-weight: ${props => props.theme.weights.xLarge};
    border: 1px solid ${props => props.theme.colors.orange};
    cursor: pointer;
    text-decoration: none;
    
    :hover,
    :focus{
        color: ${props => props.theme.colors.orange};

    }
`