Why doesn't it work to use style style in antd rowing pictures?

clipboard.png

Why do you write like this? it doesn"t work here. It"s depressing

.
Jul.19,2022

take a look at the source code of antd. The carousel component is implemented based on react-slick, and there is such a paragraph in the code of react-slick

row.push(
    React.cloneElement(children[k], {
        key: 100 * i + 10 * j + k,
        tabIndex: -1,
        style: {
            width: `${100 / settings.slidesPerRow}%`,
            display: "inline-block"
        }
    })
);

so you can see that the style written directly in the outermost layer will be replaced, which can be achieved by adding className and writing style inside

this is the code of antd You can see that react-slick
https://github.com/ant-design...
is the source code of react-slick
ider.js" rel= "nofollow noreferrer" > https://github.com/akiran/rea...

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e2e07a-43f83.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e2e07a-43f83.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?