import React from "react" ; import { Property } from "../../models" ; import { getIconForProperty } from "../../core/util/property_icons" ; interface LabelWithIconProps { property : Property < any > ; } category export function LabelWithIcon ( { property } ) { return ( < > < span style = { { paddingRight : "12px" } } > { getIconForProperty ( property ) } < /span> < span > { property . title } < /span> < />); }