github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/web/src/ButtonInput.tsx (about)

     1  import React from "react"
     2  import styled from "styled-components"
     3  import { ButtonMixin } from "./ButtonMixin"
     4  
     5  let ButtonInputRoot = styled.input`
     6    ${ButtonMixin}
     7    border: 0;
     8  `
     9  
    10  type ButtonLinkProps = {
    11    value: string
    12    type: string
    13    onClick?: () => void
    14  }
    15  
    16  function ButtonInput(props: ButtonLinkProps) {
    17    return <ButtonInputRoot {...props} />
    18  }
    19  
    20  export default ButtonInput