Skip to content

EuiTabbedContent TypeError: Cannot read property 'content' of undefined #3450

@frank-mendez

Description

@frank-mendez

I tried to create a dynamic tab content
const tabs = [];
credentials.map((item) => {
tabs.push({
id: item.ID + '--id',
name: item.credential_name,
content: (
<Fragment>
<EuiText>Test</EuiText>
</Fragment>
),
});
});

Returns TypeError: Cannot read property 'content' of undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions