import { css } from '@emotion/css'; import React from 'react'; import { Button, Modal } from '@grafana/ui'; import { DashboardModel } from '../../state'; import { SaveDashboardButton } from './SaveDashboardButton'; interface UnsavedChangesModalProps { dashboard: DashboardModel; onDiscard: () => void; onDismiss: () => void; onSaveSuccess?: () => void; } export const UnsavedChangesModal: React.FC = ({ dashboard, onSaveSuccess, onDiscard, onDismiss, }) => { return (
Do you want to save your changes?
); };