标签: reactjs typescript styled-components
当我想为现有组件设置样式时,出现错误
示例
import React from 'react' import { styled } from '@linaria/react' import { Block } from '../components/Block' export const Card = styled(Block)` background: #fff; `