import { Flex } from '@chakra-ui/react'; import { FC, useState } from 'react'; import { ChakraIcon } from 'types'; type SystemPropertyStatusProps = { value: number | string; StatusIcon: ChakraIcon; } export const SystemPropertyStatus: FC = ({ value, StatusIcon }) => { const [valueState,] = useState(value); return ( {valueState} ); };