我应该如何仅更改标题字体,但保留Ant Design卡片组件子元素的默认字体?
示例卡片组件:
// How to change title style
<Card title="Default" extra={<a href="#">More</a>} style={{ width: 300 }}>
<p>Card content</p>
<p>Card content</p>
<p>Card content</p>
</Card>
我应该如何仅更改标题字体,但保留Ant Design卡片组件子元素的默认字体?
示例卡片组件:
// How to change title style
<Card title="Default" extra={<a href="#">More</a>} style={{ width: 300 }}>
<p>Card content</p>
<p>Card content</p>
<p>Card content</p>
</Card>