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

withLinks(stringValue: string, links?: LinkElementsInfo, highlight?: (text: string) => React.ReactNode): React.ReactNode

Parameter Type Description
stringValue string  
LinkElementsInfo  
highlight (text: string) => React.ReactNode  

Returns - React.ReactNode

Defined in

Last Updated: 20 November, 2024