From 437ab9a56ce792960b1a33d064175bceb49d09f7 Mon Sep 17 00:00:00 2001 From: sarayourfriend <24264157+sarayourfriend@users.noreply.github.com> Date: Fri, 21 May 2021 08:03:29 -0700 Subject: [PATCH] Fix ViewOwnProps import --- packages/components/src/z-stack/component.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/z-stack/component.tsx b/packages/components/src/z-stack/component.tsx index e38c8035e19d9..a85b9e5175369 100644 --- a/packages/components/src/z-stack/component.tsx +++ b/packages/components/src/z-stack/component.tsx @@ -16,7 +16,7 @@ import { isValidElement } from '@wordpress/element'; import { getValidChildren } from '../ui/utils/get-valid-children'; import { contextConnect, useContextSystem } from '../ui/context'; // eslint-disable-next-line no-duplicate-imports -import type { ViewOwnProps } from '../ui/context'; +import type { PolymorphicComponentProps } from '../ui/context'; import { View } from '../view'; import * as styles from './styles'; const { ZStackView } = styles; @@ -47,7 +47,7 @@ export interface ZStackProps { } function ZStack( - props: ViewOwnProps< ZStackProps, 'div' >, + props: PolymorphicComponentProps< ZStackProps, 'div' >, forwardedRef: Ref< any > ) { const {