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';
1414import { GuideCue } from './guide-cue' ;
1515import Sinon from 'sinon' ;
1616
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+ ) => {
1823 const containerRef = React . createRef < any > ( ) ;
1924 // Wrapping GuideCue component in this way as it is easier to test for
2025 // outside clicks.
@@ -23,7 +28,7 @@ const renderGuideCue = (props: Partial<ComponentProps<typeof GuideCue>>) => {
2328 < Button data-testid = "outside-component" >
2429 Outside Guide Cue Component
2530 </ Button >
26- < GuideCue
31+ < GuideCue < HTMLButtonElement >
2732 cueId = ""
2833 groupId = ""
2934 step = { 0 }
You can’t perform that action at this time.
0 commit comments