import { Box , BoxProps } from '@stacks/ui' ; import { Image } from '@app/components/image' ; import { useAppDetails } from '@app/common/hooks/auth/use-app-details' ; export const AppIcon = ( props ) => { const { name , icon } = useAppDetails ( ) ; return ( < Box size = { '24px' } mx = "auto" { ... props } > < Image src = { icon } alt = { name } / > < /Box>); } ;