import { FC } from 'react'; import { GetConfigurationValue } from '../../../../api'; export interface CatalogHeaderViewProps { imageUrl?: string; } export const CatalogHeaderView: FC = props => { const { imageUrl = null } = props; const displayImageUrl = imageUrl ?? GetConfigurationValue('catalog.asset.image.url').replace('%name%', 'catalog_header_roombuilder'); return
{ currentTarget.src = GetConfigurationValue('catalog.asset.image.url').replace('%name%', 'catalog_header_roombuilder'); } } />
; };