Skip to content

Commit 6b2750c

Browse files
committed
chore: remove rename warning, move info alert to top of page
1 parent e6906d1 commit 6b2750c

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

docs/src/components/FileUploaderAlert.tsx

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/src/pages/[platform]/connected-components/storage/fileuploader/react.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import AppDirectoryAlert from '@/components/AppDirectoryAlert';
55
import { ComponentStyleDisplay } from '@/components/ComponentStyleDisplay';
66
import ReactPropsTable from '@/components/propsTable/ReactPropsTable';
77
import { Example, ExampleCode } from '@/components/Example';
8-
import { FileUploaderAlert } from '@/components/FileUploaderAlert';
98
import { Fragment } from '@/components/Fragment';
109
import { InstallScripts } from '@/components/InstallScripts';
1110
import { FILE_UPLOADER, FILE_PICKER, DROPZONE_PROPS, DISPLAY_TEXT } from './props';
@@ -25,10 +24,12 @@ import {
2524
UploadActionsExample,
2625
} from './examples'
2726

28-
<Alert variation="warning" heading="Storage Manager is renamed">
29-
StorageManager component has been renamed `FileUploader` as of `aws-amplify/ui-react-storage` version `3.3.0`. Please upgrade to the new import path, as the `StoraageManager` will be removed in a future major version.
27+
<Alert variation="info" heading="Storage Manager is renamed">
28+
StorageManager component has been renamed `FileUploader` as of `aws-amplify/ui-react-storage` version `3.3.0`. Please upgrade to the new import path, as the `StorageManager` will be removed in a future major version.
3029
</Alert>
3130

31+
<br />
32+
3233
<DefaultExample />
3334

3435
## Basic Usage
@@ -39,8 +40,6 @@ import {
3940

4041
<AppDirectoryAlert />
4142

42-
<FileUploaderAlert />
43-
4443
To use the FileUploader component import it into your React application with the included styles.
4544

4645
<InstallScripts component="storage" />

0 commit comments

Comments
 (0)