withLinks FunctionConst
If record has links, wraps stringValue in them, otherwise returns unchanged stringValue
withLinks(record: PropertyRecord, stringValue: string | Promise<string>): React.ReactNode | Promise<React.ReactNode>
Parameter | Type | Description |
---|---|---|
record | PropertyRecord | |
stringValue | string | Promise<string> |
Defined in
Last Updated: 08 January, 2020