简体   繁体   English

如何更改antd Modal按钮颜色

[英]How to change antd Modal button color

I am facing difficulty changing the color of antd Modal buttons That is the cancel button and ok Button.我在更改 antd 模态按钮的颜色时遇到困难,即取消按钮和 ok 按钮。 Can any one tell me how can I do that谁能告诉我我该怎么做

<Modal
  visible={this.state.visible}
  title="Title"
  closable={false}
  footer={null}>
  <div>
    Test For No two buttons on the footer.
    And No One in header.
  </div>
  <div>
    <Button style={{background:'#000000'}} type="ghost" onClick={this.handleClick}>Login</Button>
  </div>
</Modal>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM