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

<Meta title="Migration/Icon" />

# Migrating from NorthStar legacy - Icon

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

## Update Import

```diff
- import Icon from 'aws-northstar/components/Icon';
+ import Icon from '@cloudscape-design/components/icon';
```

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