- {message && }
-
-
-
- After the volume resize is complete, you'll need to restart your
- Linode for the changes to take effect.
-
-
- Once your Linode has restarted, make sure the volume is unmounted for
- safety:
-
-
-
-
-
-
- Assuming you have an ext2, ext3, or ext4 partition, first run a file
- system check, then resize it to fill the new volume size:
-
-
-
-
-
-
-
- Now mount it back onto the filesystem:
-
-
-
-
-
- );
-};
-
-const styled = withStyles(styles);
-
-export default styled(ResizeVolumeInstructions);
diff --git a/packages/manager/src/features/Volumes/VolumeDrawer/SizeField.tsx b/packages/manager/src/features/Volumes/VolumeDrawer/SizeField.tsx
index 74c8b321534..95df841dd1a 100644
--- a/packages/manager/src/features/Volumes/VolumeDrawer/SizeField.tsx
+++ b/packages/manager/src/features/Volumes/VolumeDrawer/SizeField.tsx
@@ -1,5 +1,4 @@
import { Theme } from '@mui/material/styles';
-import { makeStyles } from '@mui/styles';
import * as React from 'react';
import { Box } from 'src/components/Box';
@@ -8,11 +7,24 @@ import { InputAdornment } from 'src/components/InputAdornment';
import { TextField } from 'src/components/TextField';
import { Typography } from 'src/components/Typography';
import { MAX_VOLUME_SIZE } from 'src/constants';
+import { useFlags } from 'src/hooks/useFlags';
import { getDynamicVolumePrice } from 'src/utilities/pricing/dynamicVolumePrice';
-
import { SIZE_FIELD_WIDTH } from '../VolumeCreate/CreateVolumeForm';
+import { makeStyles } from '@mui/styles';
-import type { FlagSet } from 'src/featureFlags';
+interface Props {
+ disabled?: boolean;
+ error?: string;
+ hasSelectedRegion?: boolean;
+ isFromLinode?: boolean;
+ name: string;
+ onBlur: (e: any) => void;
+ onChange: (e: React.ChangeEvent