usePropertyData Function

Beta  

Custom hook that gets propertyData from data provider and subscribes to further data changes. Returned property data has links.onClick replaced by passed onPropertyLinkClick or default implementation

usePropertyData(props: { dataProvider: IPropertyDataProvider, onPropertyLinkClick?: undefined }): { inProgress: boolean, value: undefined | PropertyData }

Parameter Type Description
props { dataProvider: IPropertyDataProvider, onPropertyLinkClick?: undefined }  

Returns - { inProgress: boolean, value: undefined | PropertyData }

Defined in

Last Updated: 11 June, 2024