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

<Meta title="Migration/Flashbar" />

# Migrating from NorthStar legacy - Flashbar

Use <Link href='https://cloudscape.design/components/flashbar' target='_blank' external>Cloudscape Flashbar component</Link>

## Update Import

```diff
- import Flashbar from 'aws-northstar/components/Flashbar';
+ import Flashbar from '@cloudscape-design/components/flashbar'';
```

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