github.com/quickfeed/quickfeed@v0.0.0-20240507093252-ed8ca812a09c/public/src/components/UnstyledButton.tsx (about)

     1  import React from "react";
     2  
     3  const UnstyledButton = (props: React.PropsWithChildren<{ onClick: () => void }>) => {
     4      return (
     5          <button type="button" style={{ color: "black" }} onClick={props.onClick} className="btn btn-link p-0">
     6              {props.children}
     7          </button>
     8      )
     9  }
    10  
    11  export default UnstyledButton