import SandboxSampleSheet from './SandboxSampleSheet'; const RESTORE_DESCRIPTION = 'Replace this sandbox\x27s configuration.'; const RESTORE_WHAT = 'Restore your live practice\x27s name, logo, contacts, locations, practitioners, staff, services and schedules.'; type RestoreSetupSheetProps = { pending: boolean; error: string | null; onConfirm: () => void; onClose: () => void; }; // The one confirmation for a Restore, wherever it is started: it replaces setup for everyone. const RestoreSetupSheet = ({ pending, error, onConfirm, onClose }: RestoreSetupSheetProps) => ( This affects everyone in this practice sandbox.Coordinate with your coworkers before continuing., <>Your sandbox configuration changes will be lost.{RESTORE_WHAT}, <>Sample records will be cleared.Populate fresh sample data afterward to match the restored setup., <>Your live practice is untouched.No patient records or payment credentials are copied., ]} action="Restore setup" pending={pending} error={error} onConfirm={onConfirm} onClose={onClose} /> ); export default RestoreSetupSheet;