Typescript - create type of all available css properties

前端 未结 0 391
一生所求
一生所求 2021-02-15 15:05

I\'m using React and Styled Components and I have a function that accepts a string of a css attribute. I want to type it to validate that the string is a valid css attribute (co

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