Skip to content

Commit

Permalink
fix(ts): fix for popover ts (patternfly#1106)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschuler authored and jeff-phillips-18 committed Dec 20, 2018
1 parent 44eb6bf commit 7ea696f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { SFC, HTMLProps, ReactNode } from 'react';
import { SFC, HTMLProps, ReactNode, ReactElement } from 'react';
import { Omit } from '../../typeUtils';
import { Instance, BasicPlacement } from 'tippy.js';

Expand All @@ -17,7 +17,7 @@ export interface PopoverProps extends Omit<HTMLProps<HTMLDivElement>, 'children'
/** Popover additional class */
className?: string;
/** The reference element to which the popover is relatively placed to */
children: React.ReactElement<any>;
children: ReactElement<any>;
/** Accessible label, required when header is not present */
'aria-label'?: string;
/** Header content, leave empty for no header */
Expand Down

0 comments on commit 7ea696f

Please sign in to comment.