best practices to reduce duplicated style in styled-components

后端 未结 0 1202
臣服心动
臣服心动 2021-01-07 08:12

I want to write DRY (Donot Repeat Yourself) code with styled-component.

I know best way to be DRY with styled-component is like below,



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题