在React 中,你可以建立不同的component 來封裝你需要的行為。 ... 在CodePen 上試試看吧! ... function LoginButton(props) { return ( <button onClick={props.
確定! 回上一頁