Skip to content

Commit

Permalink
Fix ViewOwnProps import
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed May 21, 2021
1 parent a643d84 commit 437ab9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/z-stack/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -47,7 +47,7 @@ export interface ZStackProps {
}

function ZStack(
props: ViewOwnProps< ZStackProps, 'div' >,
props: PolymorphicComponentProps< ZStackProps, 'div' >,
forwardedRef: Ref< any >
) {
const {
Expand Down

0 comments on commit 437ab9a

Please sign in to comment.