• Renders an external link for an item. If the resolver does not return a URL for an item, no link will be rendered for that item.

    Type Parameters

    Parameters

    • resolver: ExternalLinkResolver<T>

      Callback function. Row data is passed as an argument.

    • showNewTabIcon: boolean = true

      Optional boolean that determines whether or not the external icon is shown (default: true)

    Returns ColumnRenderer<T>

    A string that should be a valid url

    Example

    <List
    {...otherProps}
    columns=[{
    propertyName: 'title'
    render: createExternalLinkRenderer(data => `https://www.example.com/${data.id}`)
    }]/>

Generated using TypeDoc