diff --git a/src/pages/ManageValidator/RightManagePanels/PanelImage.tsx b/src/pages/ManageValidator/RightManagePanels/PanelImage.tsx new file mode 100644 index 00000000..f9568c24 --- /dev/null +++ b/src/pages/ManageValidator/RightManagePanels/PanelImage.tsx @@ -0,0 +1,37 @@ +import { Text } from '@status-im/components' +import { YStack } from 'tamagui' + +import { useWindowSize } from '../../../hooks/useWindowSize' +import { MODAL_WIDTH } from '../../../constants' + +type PanelImageProps = { + imagePath: string + text: string +} + +const PanelImage = ({ imagePath, text }: PanelImageProps) => { + const { width } = useWindowSize() + const isModalWidth = width < MODAL_WIDTH + + return ( + + {imagePath} +
+ {text} +
+
+ ) +} + +export default PanelImage