File tree 5 files changed +19
-6
lines changed
5 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 62
62
"@restart/hooks" : " ^0.3.26" ,
63
63
"@types/invariant" : " ^2.2.33" ,
64
64
"@types/prop-types" : " ^15.7.3" ,
65
- "@types/react" : " >=16.14.4 " ,
65
+ "@types/react" : " >=16.14.8 " ,
66
66
"@types/react-transition-group" : " ^4.4.1" ,
67
67
"@types/warning" : " ^3.0.0" ,
68
68
"classnames" : " ^2.3.1" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,9 @@ import TransitionWrapper from './TransitionWrapper';
17
17
18
18
type Dimension = 'height' | 'width' ;
19
19
20
- export interface CollapseProps extends TransitionCallbacks {
20
+ export interface CollapseProps
21
+ extends TransitionCallbacks ,
22
+ Pick < React . HTMLAttributes < HTMLElement > , 'role' > {
21
23
className ?: string ;
22
24
in ?: boolean ;
23
25
mountOnEnter ?: boolean ;
@@ -27,7 +29,6 @@ export interface CollapseProps extends TransitionCallbacks {
27
29
dimension ?: Dimension | ( ( ) => Dimension ) ;
28
30
getDimensionValue ?: ( dimension : Dimension , element : HTMLElement ) => number ;
29
31
children : React . ReactElement ;
30
- role ?: string ;
31
32
}
32
33
33
34
const MARGINS : { [ d in Dimension ] : string [ ] } = {
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ export interface SafeAnchorProps
9
9
BsPrefixProps {
10
10
href ?: string ;
11
11
disabled ?: boolean ;
12
- role ?: string ;
13
12
tabIndex ?: number ;
14
13
}
15
14
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export interface SpinnerProps
10
10
extends React . HTMLAttributes < HTMLElement > ,
11
11
BsPrefixProps {
12
12
animation : 'border' | 'grow' ;
13
- role ?: string ;
14
13
size ?: 'sm' ;
15
14
variant ?: Variant ;
16
15
}
Original file line number Diff line number Diff line change 1386
1386
dependencies :
1387
1387
" @types/react" " *"
1388
1388
1389
- " @types/react@*" , "@types/react@>=16.14.4", "@types/react@>=16. 9.11":
1389
+ " @types/react@*" , "@types/react@>=16.9.11":
1390
1390
version "17.0.2"
1391
1391
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.2.tgz#3de24c4efef902dd9795a49c75f760cbe4f7a5a8"
1392
1392
integrity sha512-Xt40xQsrkdvjn1EyWe1Bc0dJLcil/9x2vAuW7ya+PuQip4UYUaXyhzWmAbwRsdMgwOFHpfp7/FFZebDU6Y8VHA==
1393
1393
dependencies :
1394
1394
" @types/prop-types" " *"
1395
1395
csstype "^3.0.2"
1396
1396
1397
+ " @types/react@>=16.14.8 " :
1398
+ version "17.0.8"
1399
+ resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.8.tgz#fe76e3ba0fbb5602704110fd1e3035cf394778e3"
1400
+ integrity sha512-3sx4c0PbXujrYAKwXxNONXUtRp9C+hE2di0IuxFyf5BELD+B+AXL8G7QrmSKhVwKZDbv0igiAjQAMhXj8Yg3aw==
1401
+ dependencies :
1402
+ " @types/prop-types" " *"
1403
+ " @types/scheduler" " *"
1404
+ csstype "^3.0.2"
1405
+
1406
+ " @types/scheduler@* " :
1407
+ version "0.16.1"
1408
+ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.1.tgz#18845205e86ff0038517aab7a18a62a6b9f71275"
1409
+ integrity sha512-EaCxbanVeyxDRTQBkdLb3Bvl/HK7PBK6UJjsSixB0iHKoWxE5uu2Q/DgtpOhPIojN0Zl1whvOd7PoHs2P0s5eA==
1410
+
1397
1411
" @types/warning@^3.0.0 " :
1398
1412
version "3.0.0"
1399
1413
resolved "https://registry.yarnpkg.com/@types/warning/-/warning-3.0.0.tgz#0d2501268ad8f9962b740d387c4654f5f8e23e52"
You can’t perform that action at this time.
0 commit comments