diff --git a/src/components/page/page_content/page_content.tsx b/src/components/page/page_content/page_content.tsx index 51e666f4e67..0327af4d6a2 100644 --- a/src/components/page/page_content/page_content.tsx +++ b/src/components/page/page_content/page_content.tsx @@ -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'; @@ -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['role'] | null; }; /** diff --git a/upcoming_changelogs/6643.md b/upcoming_changelogs/6643.md new file mode 100644 index 00000000000..cc92510d878 --- /dev/null +++ b/upcoming_changelogs/6643.md @@ -0,0 +1,3 @@ +**Bug fixes** + +- Fixed a type definition incorrectly coming from a dev dependency, which was causing issues for some consuming projects