Skip to content

EuiTableRowCell overriding className prop #706

@nreese

Description

@nreese

EuiTableRowCell is overriding the className prop of children. This occurs when defining a column like so. The EuiLink does not retain the className prop.

{
  field: 'title',
  name: 'Title',
  render: (field, record) => (
    <EuiLink
      className="myClass"
      href="#"
    >
      click me
    </EuiLink>
  )
}

Work around is to just wrap child in another element.

cc @chandlerprall

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions