Skip to content

Commit

Permalink
Fix typo in PositionerProps and PopoverProps (#869)
Browse files Browse the repository at this point in the history
  • Loading branch information
leesiongchan committed Jul 14, 2020
1 parent 04ea33d commit 2918700
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Expand Up @@ -1193,7 +1193,7 @@ export interface PopoverProps {
trigger?: 'click' | 'hover'
content: React.ReactNode | ((object: { close: () => void }) => React.ReactNode)
children:
((props: { toggle: () => void, getRef: (ref: React.RefObject<HTMLElement>) => void, isShow: NonNullable<PopoverProps['isShown']> }) => React.ReactNode)
((props: { toggle: () => void, getRef: (ref: React.RefObject<HTMLElement>) => void, isShown: NonNullable<PopoverProps['isShown']> }) => React.ReactNode)
| React.ReactNode
display?: string
minWidth?: number | string
Expand Down Expand Up @@ -1241,7 +1241,7 @@ export interface PositionerProps {
innerRef?: (ref: React.RefObject<HTMLElement>) => void
bodyOffset?: number
targetOffset?: number
target: (params: { getRef: () => React.RefObject<HTMLElement>, isShow: boolean }) => React.ReactNode
target: (params: { getRef: () => React.RefObject<HTMLElement>, isShown: boolean }) => React.ReactNode
initialScale?: number
animationDuration?: number
onCloseComplete?: () => void
Expand Down

0 comments on commit 2918700

Please sign in to comment.