import React, { useRef, useState } from 'react'; import { Popover, Content, Button, Alert, TextInput, Select, MenuToggleElement, MenuToggle, SelectList, SelectOption, } from '@patternfly/react-core'; import { HelpIcon, MinusCircleIcon } from '@patternfly/react-icons'; import styles from '@patternfly/react-styles/css/components/Table/table'; import { Table, Th, Thead, Tbody, Tr, TrProps, TbodyProps, Td, } from '@patternfly/react-table'; import { UNIT_GIB, UNIT_KIB, UNIT_MIB } from '../../../../../constants'; import { useAppDispatch, useAppSelector } from '../../../../../store/hooks'; import { changePartitionMinSize, changePartitionMountpoint, changePartitionOrder, changePartitionUnit, removePartition, selectPartitions, } from '../../../../../store/wizardSlice'; import { useFilesystemValidation } from '../../../utilities/useValidation'; import { ValidatedInputAndTextArea } from '../../../ValidatedInput'; export const FileSystemContext = React.createContext(true); export const MinimumSizePopover = () => { return ( Image Builder may extend this size based on requirements, selected packages, and configurations. } >