File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/compass-components/src/components/guide-cue Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,12 @@ import * as GuideCueGroups from './guide-cue-groups';
14
14
import { GuideCue } from './guide-cue' ;
15
15
import Sinon from 'sinon' ;
16
16
17
- const renderGuideCue = ( props : Partial < ComponentProps < typeof GuideCue > > ) => {
17
+ const renderGuideCue = (
18
+ props : Omit <
19
+ Partial < ComponentProps < typeof GuideCue < HTMLElement > > > ,
20
+ 'triggerNode' | 'trigger'
21
+ >
22
+ ) => {
18
23
const containerRef = React . createRef < any > ( ) ;
19
24
// Wrapping GuideCue component in this way as it is easier to test for
20
25
// outside clicks.
@@ -23,7 +28,7 @@ const renderGuideCue = (props: Partial<ComponentProps<typeof GuideCue>>) => {
23
28
< Button data-testid = "outside-component" >
24
29
Outside Guide Cue Component
25
30
</ Button >
26
- < GuideCue
31
+ < GuideCue < HTMLButtonElement >
27
32
cueId = ""
28
33
groupId = ""
29
34
step = { 0 }
You can’t perform that action at this time.
0 commit comments