vagusX on master
chore: update https://registry.… (compare)
So I have a table where I mark rows red if they have a status FAIL, this works nice, but now I want the hover color to have a stronger red color on the FAIL rows.
I cant find anyway to manipulate the hover color in the table.
To be clear, I want to change the hover color on the table depending on the data of the row.
<Table
dataSource={data}
rowClassName={(record, index) =>
record.status.includes("FAIL")
? "table-row-failed"
: ""
}
rowKey="reference"
columns={columns}
></Table>
Is this possible?
Hi all
Forgive me if this has been asked previously.
I am facing a css bundle size issue (12 MB)
I'm importing a lot of AntD components in my project like
import { Button } from 'antd';
...
...
In my App.less I am importing @import '~antd/dist/antd.less';
When I build my react app (created with create-react-app)
The main css chunk size is 12 MB.
I analzyed it with source-map-explorer it shows 70% of it is from colors and style