Additional Arguments to Styled Components in React with Typescript

前端 未结 0 404
感情败类
感情败类 2021-01-29 09:45

I have a styled component I need to reuse. It looks like this:

export const FormFooter = styled.div(
  ({ theme }) => `
  padding: ${theme.spacing(3)}px;
  bor         


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