import * as React from "react" ; import generic from "../data/generic" ; import * as buttonStyles from "../styles/button.module.css" ; import * as containerStyles from "../styles/container.module.css" ; export default function StarRepo ( { currentLanguage , } ) { return ( < div className = { containerStyles . centerContent } style = { { marginTop : 100 , maxWidth : 600 } } > < h1 > { generic . needYourSupport [ currentLanguage ] . title } < /h1> < p > { generic . needYourSupport [ currentLanguage ] . description } < /p> < button className = { buttonStyles . primaryButton } onClick = { ( ) => { window . open ( "https://github.com/react-hook-form/react-hook-form" ) ; } } style = { { margin : "40px auto" } } > { generic . needYourSupport [ currentLanguage ] . buttonText } < /button> < /div>); }