styled -components的想法是将样式“附着”在component上,使其变成“被样式化了的组件”。看一个最简单的例子: // 带样式的h1 const Title = styled.h1` font-size: 1.5em ...
確定! 回上一頁