File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export interface StrictVisibilityProps {
59
59
* Value that context should be adjusted in pixels. Useful for making content appear below content fixed to the
60
60
* page.
61
61
*/
62
- offset ?: number | string | number | string [ ]
62
+ offset ?: number | string | ( number | string ) [ ]
63
63
64
64
/** When set to false a callback will occur each time an element passes the threshold for a condition. */
65
65
once ?: boolean
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export interface StrictPopupProps extends StrictPortalProps {
59
59
offset ?: number | string
60
60
61
61
/** Events triggering the popup. */
62
- on ?: 'hover' | 'click' | 'focus' | 'hover' | 'click' | 'focus' [ ]
62
+ on ?: 'hover' | 'click' | 'focus' | ( 'hover' | 'click' | 'focus' ) [ ]
63
63
64
64
/**
65
65
* Called when a close event happens.
You can’t perform that action at this time.
0 commit comments