import CustomText from '@components/Text' import { StyleConstants } from '@utils/styles/constants' import { useTheme } from '@utils/styles/ThemeManager' import React from 'react' import { View, ViewStyle } from 'react-native' import { PlaceholderLine } from 'rn-placeholder' export interface Props { style?: ViewStyle header: string content?: string potentialWidth?: number } const InstanceInfo = React.memo( ({ style, header, content, potentialWidth }: Props) => { const { colors } = useTheme() return ( {content ? ( ) : ( )} ) }, (prev, next) => prev.content === next.content ) export default InstanceInfo