Styling the dropdownmenu and dropdownitemradiogroup in React

I am trying to use Atlassian’s and components in a React project. I need to change the inline css styling of the elements it generates, but I have not been able to do so. I have tried adding style to the html codes (e.g. <dropdownitemradiogroup style=“margin-bottom:24px” (…)>, which did not work. I have tried adding the classes to the project’s imported stylesheet, which did not work. I have tried putting them in a div and adding styles that target that div’s children in the stylesheet as well. How do you change the default inline styles of these components?

Apparently the general css styling for “button” works, if anyone else ever has this issue. ClassName targeting still doesn’t work but class name/id targeting can work for other buttons if necessary.