1
1
import * as React from 'react'
2
2
3
- interface SliderProps {
3
+ interface SliderProps extends React . HTMLAttributes < HTMLDivElement > {
4
4
readonly children : React . ReactNode
5
5
readonly className ?: string
6
6
readonly classNameAnimation ?: string
@@ -11,6 +11,7 @@ interface SliderProps {
11
11
readonly style ?: { }
12
12
readonly spinner ?: ( ) => void
13
13
readonly trayTag ?: string
14
+ readonly trayProps ?: React . HTMLAttributes < HTMLUListElement >
14
15
}
15
16
type SliderInterface = React . ComponentClass < SliderProps >
16
17
/**
@@ -20,7 +21,7 @@ declare const Slider: SliderInterface
20
21
21
22
22
23
23
- interface SlideProps {
24
+ interface SlideProps extends React . HTMLAttributes < HTMLDivElement > {
24
25
readonly className ?: string
25
26
readonly classNameHidden ?: string
26
27
readonly classNameVisible ?: string
@@ -60,7 +61,7 @@ declare const ImageWithZoom: ImageWithZoomInterface
60
61
61
62
62
63
63
- interface ImageProps {
64
+ interface ImageProps extends React . HTMLAttributes < HTMLDivElement > {
64
65
readonly alt ?: string
65
66
readonly children ?: React . ReactNode
66
67
readonly className ?: string
@@ -90,7 +91,7 @@ interface RenderDotsProps {
90
91
91
92
type RenderDotsFunction = ( props : RenderDotsProps ) => void
92
93
93
- interface DotGroupProps {
94
+ interface DotGroupProps extends React . HTMLAttributes < HTMLDivElement > {
94
95
readonly children ?: React . ReactNode
95
96
readonly className ?: string
96
97
readonly dotNumbers ?: boolean
@@ -109,7 +110,7 @@ declare const DotGroup: DotGroupInterface
109
110
110
111
111
112
112
- interface DotProps {
113
+ interface DotProps extends React . HTMLAttributes < HTMLDivElement > {
113
114
readonly children ?: React . ReactChild
114
115
readonly className ?: string
115
116
readonly disabled ?: boolean
@@ -124,7 +125,7 @@ declare const Dot: DotInterface
124
125
125
126
126
127
127
- interface ButtonNextProps {
128
+ interface ButtonNextProps extends React . HTMLAttributes < HTMLButtonElement > {
128
129
readonly children : React . ReactChild
129
130
readonly className ?: string
130
131
readonly disabled ?: boolean
@@ -138,7 +139,7 @@ declare const ButtonNext: ButtonNextInterface
138
139
139
140
140
141
141
- interface ButtonBackProps {
142
+ interface ButtonBackProps extends React . HTMLAttributes < HTMLButtonElement > {
142
143
readonly children : React . ReactChild
143
144
readonly className ?: string
144
145
readonly disabled ?: boolean
@@ -152,7 +153,7 @@ declare const ButtonBack: ButtonBackInterface
152
153
153
154
154
155
155
- interface ButtonLastProps {
156
+ interface ButtonLastProps extends React . HTMLAttributes < HTMLButtonElement > {
156
157
readonly children : React . ReactChild
157
158
readonly className ?: string
158
159
readonly disabled ?: boolean
@@ -166,7 +167,7 @@ declare const ButtonLast: ButtonLastInterface
166
167
167
168
168
169
169
- interface ButtonFirstProps {
170
+ interface ButtonFirstProps extends React . HTMLAttributes < HTMLButtonElement > {
170
171
readonly children : React . ReactChild
171
172
readonly className ?: string
172
173
readonly disabled ?: boolean
@@ -180,7 +181,7 @@ declare const ButtonFirst: ButtonLastInterface
180
181
181
182
182
183
183
- interface ButtonPlayProps {
184
+ interface ButtonPlayProps extends React . HTMLAttributes < HTMLButtonElement > {
184
185
readonly childrenPaused ?: React . ReactNode
185
186
readonly childrenPlaying ?: React . ReactNode
186
187
readonly className ?: string
0 commit comments