If record has links, wraps stringValue in them, otherwise returns unchanged stringValue Optionally it can highlight text

withLinks(record: PropertyRecord, stringValue: string | Promise<string>, highlight?: (text: string) => React.ReactNode): React.ReactNode | Promise<React.ReactNode>

Parameter Type Description
record PropertyRecord  
stringValue string | Promise<string>  
highlight (text: string) => React.ReactNode  

Defined in

Last Updated: 05 June, 2020