Skip to content

[EuiBasicTable] add nameTooltip API  #7963

@alexwizp

Description

@alexwizp

This feature request is based on this comment and suggests adding a new nameTooltip API for EuiBasicTable.

Example:

const columns = [
  {
    field: 'github',
    name: 'Github',
    nameTooltip: {
      content: 'Their mascot is Octokitty',
      icon: 'questionInCircle', // default icon, but can be customized
      iconProps: { color: 'subdued' }, // allows customizing the icon color/size etc if needed
      tooltipProps: { position: 'bottom' }, // allows additional tooltip configuration
    },
    render: (username: User['github']) => (
      <EuiLink href="#" target="_blank">
        {username}
      </EuiLink>
    ),
  },
];

Metadata

Metadata

Assignees

Labels

accessibilitylow hanging fruitAn issue, often a bug, that is lower effort and clearly ought to be fixed
No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions