import { Trans, t } from '@grafana/i18n'; import { Button, Icon, Spinner, Text } from '@grafana/ui'; import { CTAInfo } from './CTAInfo'; interface SnapshotCTAProps { disabled: boolean; isLoading: boolean; onClick: () => void; } // TODO: this can be removed with the new configuration flow merged. export function BuildSnapshotCTA(props: SnapshotCTAProps) { const { disabled, isLoading, onClick } = props; return ( } > This tool can migrate some resources from this installation to your cloud stack. To get started, you'll need to create a snapshot of this installation. Creating a snapshot typically takes less than two minutes. The snapshot is stored alongside this Grafana installation. Once the snapshot is complete, you will be able to upload it to your cloud stack. ); } export function CreatingSnapshotCTA(props: SnapshotCTAProps) { const { disabled, isLoading, onClick } = props; return ( }> We're gathering your resources for migration to Grafana Cloud. This should only take a moment. ); }