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

<Meta title="Migration/Badge" />

# Migrating from NorthStar legacy - Badge

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

## Update Import

```diff
- import Badge from 'aws-northstar/components/Badge';
+ import Badge from '@cloudscape-design/components/badge'';
```

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