forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
546 B
12 lines
546 B
import React from 'react';
|
|
import { Modal } from '@grafana/ui';
|
|
import { SaveProvisionedDashboardForm } from './forms/SaveProvisionedDashboardForm';
|
|
import { SaveDashboardModalProps } from './types';
|
|
|
|
export const SaveProvisionedDashboard: React.FC<SaveDashboardModalProps> = ({ dashboard, onDismiss }) => {
|
|
return (
|
|
<Modal isOpen={true} title="Cannot save provisioned dashboard" icon="copy" onDismiss={onDismiss}>
|
|
<SaveProvisionedDashboardForm dashboard={dashboard} onCancel={onDismiss} onSuccess={onDismiss} />
|
|
</Modal>
|
|
);
|
|
};
|
|
|