為何我們能夠寫出 styled components 的語法,背後就是靠著Babel 幫我們轉譯成JS 的程式碼。 舉個例子. // JSX 寫法 <Button size="XL" onclick={() ...
確定! 回上一頁