Repository navigation
Replies: 1 comment
|
Hi, If you're using SwiftUI style bindings (Fable.AntD), there is an explicit attribute where Ant Design has it described in the documentation (Divider, Drawer, Layout...) AntDivider()
.className("my-class")
.[[]]If this attribute isn't present, you can still set the prop, in most cases, it should propagate. AntButton()
.set("className", "my-class")
.[[]]In computation expression based bindings (Fable.AntDesign) the attribute is common to all controls button {
className "my-class"
} |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
How do I add a class name to the AntD components?
All reactions