import { Meta } from '@storybook/addon-docs';
import Link from '@cloudscape-design/components/link';
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';

<Meta title="Migration/DeleteConfirmationDialog" />

# Migrating from NorthStar legacy - DeleteConfirmationDialog

Use <Link href='https://aws.github.io/aws-northstar/?path=/story/components-deleteconfirmationdialog--delete-with-friction' target='_blank' external>NorthStar v2 DeleteConfirmationDialog component</Link>

## Update Import

```diff
- import DeleteConfirmationDialog from 'aws-northstar/advanced/DeleteConfirmationDialog';
+ import DeleteConfirmationDialog from '@aws-northstar/ui/components/DeleteConfirmationDialog';
```

export const Component = () => {
  return <SyntaxHighlighter/>;
};