You can modify table styles by customize component token. Just wrapping the table component with <ConfigProvider>
from antd
and change the token value. See the design component token list from table component. I created a StackBlitz with the code bellow to see this working on an example.
<ConfigProvider
theme={{
components: {
Table: {
borderColor: '#f00',
},
},
}}
>
<Table
columns={columns}
expandable={{
expandedRowRender: (record) => (
<p style={{ margin: 0 }}>
{record.description}
</p>
),
rowExpandable: (record) => record.name !== 'Not Expandable',
}}
dataSource={data}
/>
</ConfigProvider>