custom className semantic ui react
问题 I was hoping to do something like this: <Divider className="homepage-divider" /> But no matter if I add a class name this is all that shows up: <div class="ui divider"></div> How do I make my own className. I would like to use the divider multiple times with different widths. I know how to customize it with the override files already but that would set my regular divider to a set width. 回答1: as Tholle mentioned, it should work. see working example: https://codesandbox.io/s/2p398kyykr 回答2: