mirror of
https://github.com/apache/superset.git
synced 2026-04-26 03:24:53 +00:00
refactor: Use Modals from Antd instead of react-bootstrap (#11330)
* Refactor ModalTrigger to use antd modal * Refactor a few components * dynamic width * Fix unit tests * Use i18n for button text
This commit is contained in:
committed by
GitHub
parent
144b279aa2
commit
894ca3c09b
@@ -124,7 +124,6 @@ export default class TextAreaControl extends React.Component {
|
||||
{this.renderEditor()}
|
||||
{this.props.offerEditInModal && (
|
||||
<ModalTrigger
|
||||
bsSize="large"
|
||||
modalTitle={controlHeader}
|
||||
triggerNode={
|
||||
<Button buttonSize="small" className="m-t-5">
|
||||
@@ -133,6 +132,7 @@ export default class TextAreaControl extends React.Component {
|
||||
</Button>
|
||||
}
|
||||
modalBody={this.renderModalBody(true)}
|
||||
responsive
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user