mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
UI: ConfirmModal component (#20965)
* UI: ConfirmModal component based on Modal * UI: refactor ConfirmModal after Modal changes * UI: use Icon component for Modal * UI: ConfirmModal tests * UI: ConfirmModal story
This commit is contained in:
@@ -39,7 +39,7 @@ export class PanelInspector extends PureComponent<Props, State> {
|
||||
// TODO? should we get the result with an observable once?
|
||||
const data = (panel.getQueryRunner() as any).lastResult;
|
||||
return (
|
||||
<Modal title={panel.title} icon="fa fa-info-circle" onDismiss={this.onDismiss} isOpen={true}>
|
||||
<Modal title={panel.title} icon="info-circle" onDismiss={this.onDismiss} isOpen={true}>
|
||||
<div className={bodyStyle}>
|
||||
<JSONFormatter json={data} open={2} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user