File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ export type SemanticName =
13
13
| 'description'
14
14
| 'mask' ;
15
15
16
+
17
+ export type HTMLAriaDataAttributes = React . AriaAttributes & {
18
+ [ key : `data-${string } `] : unknown ;
19
+ } & Pick < React . HTMLAttributes < HTMLDivElement > , 'role' > ;
20
+
16
21
export interface TourStepInfo {
17
22
arrow ?: boolean | { pointAtCenter : boolean } ;
18
23
target ?: HTMLElement | ( ( ) => HTMLElement ) | null | ( ( ) => null ) ;
@@ -30,7 +35,7 @@ export interface TourStepInfo {
30
35
style ?: CSSProperties ;
31
36
scrollIntoViewOptions ?: boolean | ScrollIntoViewOptions ;
32
37
closeIcon ?: ReactNode ;
33
- closable ?: boolean | ( { closeIcon ?: ReactNode } & React . AriaAttributes ) ;
38
+ closable ?: boolean | ( { closeIcon ?: ReactNode } & HTMLAriaDataAttributes ) ;
34
39
}
35
40
36
41
export interface TourStepProps extends TourStepInfo {
You can’t perform that action at this time.
0 commit comments