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

<Meta title="Migration/TokenGroup" />

# Migrating from NorthStar legacy - TokenGroup

Use <Link href='https://cloudscape.design/components/token-group' target='_blank' external>Cloudscape TokenGroup component</Link>

## Update Import

```diff
- import TokenGroup from 'aws-northstar/components/TokenGroup';
+ import TokenGroup from '@cloudscape-design/components/token-group'';
```

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