Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/components/page/page_content/page_content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
* Side Public License, v 1.
*/

import React, { FunctionComponent } from 'react';
import React, { FunctionComponent, HTMLAttributes } from 'react';
import classNames from 'classnames';
import { CommonProps } from '../../common';

import { EuiPanel, _EuiPanelProps, _EuiPanelDivlike } from '../../panel/panel';
import { HTMLAttributes } from 'enzyme';

export type EuiPageContentVerticalPositions = 'center';
export type EuiPageContentHorizontalPositions = 'center';
Expand All @@ -38,7 +37,7 @@ export type EuiPageContentProps = CommonProps &
* There should only be one EuiPageContent per page and should contain the main contents.
* If this is untrue, set role = `null`, or change it to match your needed aria role
*/
role?: HTMLAttributes['role'] | null;
role?: HTMLAttributes<HTMLElement>['role'] | null;
};

/**
Expand Down
3 changes: 3 additions & 0 deletions upcoming_changelogs/6643.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Bug fixes**

- Fixed a type definition incorrectly coming from a dev dependency, which was causing issues for some consuming projects