import { Meta } from '@storybook/addon-docs';
import Link from '@cloudscape-design/components/link';
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
# Migrating from NorthStar legacy - Text
Use Cloudscape Box component
## Update Import
```diff
- import Text from 'aws-northstar/components/Text';
+ import Box from '@cloudscape-design/components/box';
```
## Update Code
```diff
- Heading Level 1
+ Heading Level 1
```
```diff
- Heading Level 1
+ Heading Level 1
```
export const Component = () => {
return ;
};