mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Remove Duplicated Close button from Flyout (#20055)
This removes the now-duplicated Close button from the `EuiFlyout` now that EUI automatically adds a close button.
This commit is contained in:
parent
dcb541c0ea
commit
e48c7acff5
1 changed files with 0 additions and 10 deletions
|
@ -8,13 +8,11 @@ import React, { Component } from 'react';
|
|||
import PropTypes from 'prop-types';
|
||||
|
||||
import {
|
||||
EuiButton,
|
||||
EuiCallOut,
|
||||
EuiCodeBlock,
|
||||
EuiFlexGroup,
|
||||
EuiFlexItem,
|
||||
EuiFlyout,
|
||||
EuiFlyoutFooter,
|
||||
EuiFlyoutHeader,
|
||||
EuiFlyoutBody,
|
||||
EuiLoadingSpinner,
|
||||
|
@ -108,14 +106,6 @@ export class OptInExampleFlyout extends Component {
|
|||
<EuiFlyoutBody>
|
||||
{ this.renderBody(this.state) }
|
||||
</EuiFlyoutBody>
|
||||
<EuiFlyoutFooter>
|
||||
<EuiButton
|
||||
iconType="cross"
|
||||
onClick={this.props.onClose}
|
||||
>
|
||||
Close
|
||||
</EuiButton>
|
||||
</EuiFlyoutFooter>
|
||||
</EuiFlyout>
|
||||
</EuiPortal>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue