Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EuiBasicTable] add nameTooltip API #7963

Open
alexwizp opened this issue Aug 14, 2024 · 0 comments
Open

[EuiBasicTable] add nameTooltip API #7963

alexwizp opened this issue Aug 14, 2024 · 0 comments
Assignees
Labels
accessibility feature request low hanging fruit An issue, often a bug, that is lower effort and clearly ought to be fixed

Comments

@alexwizp
Copy link
Contributor

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>
    ),
  },
];
@JasonStoltz JasonStoltz added low hanging fruit An issue, often a bug, that is lower effort and clearly ought to be fixed accessibility labels Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility feature request low hanging fruit An issue, often a bug, that is lower effort and clearly ought to be fixed
Projects
None yet
Development

No branches or pull requests

3 participants