starling-devex 0.1.2

Starling: a local dev orchestrator with a central daemon, shared named-URL proxy, and a k9s-style TUI (a Rust port of Tilt + portless)
import React from "react"
import styled from "styled-components"
import { ButtonMixin } from "./ButtonMixin"

let ButtonLinkRoot = styled.a`
  ${ButtonMixin}
`

type ButtonLinkProps = {
  children: any
  href: string
  target?: string
  rel?: string
}

function ButtonLink(props: ButtonLinkProps) {
  return (
    <ButtonLinkRoot
      href={props.href}
      {...(props.target ? { target: props.target } : {})}
      {...(props.rel ? { rel: props.rel } : {})}
    >
      {props.children}
    </ButtonLinkRoot>
  )
}

export default ButtonLink