Skip to content

HTMLElement is not defined #1830

@vatto1337

Description

@vatto1337
import React, { Component } from 'react'
import Layout from '../components/core/layout';
import { EuiButton } from '@elastic/eui';

export default class MyComponent extends Component {
  render() {
    return (
      <div>
        <Layout>
          This is a test.
          <EuiButton>Primary</EuiButton>
        </Layout>
      </div>
    );
  }
}

I've attached the errror that is showing up on browser.
error

I'm developing an app using Next.js.. Any ways to fix it ?

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