File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -16,56 +16,40 @@ import { CCarouselInner } from './CCarouselInner'
16
16
export interface CCarouselProps extends HTMLAttributes < HTMLDivElement > {
17
17
/**
18
18
* Set 'animate' variable for created context. [docs]
19
- *
20
- * @type boolean
21
19
*/
22
20
animate ?: boolean
23
21
/**
24
22
* A string of all className you want applied to the base component. [docs]
25
- *
26
- * @type string
27
23
*/
28
24
className ?: string
29
25
/**
30
26
* Adding in the previous and next controls. [docs]
31
- *
32
- * @type : boolean
33
27
*/
34
28
controls ?: boolean
35
29
/**
36
30
* Add darker controls, indicators, and captions. [docs]
37
- *
38
- * @type boolean
39
31
*/
40
32
dark ?: boolean
41
33
/**
42
34
* The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle. [docs]
43
- *
44
- * @type boolean | number
45
35
*/
46
36
interval ?: boolean | number
47
37
/**
48
38
* index of the active item. [docs]
49
- *
50
- * @type number
51
39
*/
52
40
index ?: number
53
41
/**
54
42
* Adding indicators at the bottom of the carousel for each item. [docs]
55
- *
56
- * @type boolean
57
43
*/
58
44
indicators ?: boolean
59
45
/**
60
46
* On slide change callback. [docs]
61
- *
62
- * @type (a:number|string|null)=>void
63
47
*/
64
48
onSlideChange ?: ( a : number | string | null ) => void
65
49
/**
66
50
* On slide change callback. [docs]
67
51
*
68
- * @type 'slide' | 'crossfade'
52
+ * @type { 'slide' | 'crossfade' }
69
53
* @default 'slide'
70
54
*/
71
55
transition ?: 'slide' | 'crossfade'
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ export interface CCarouselIndicatorsProps extends HTMLAttributes<HTMLOListElemen
10
10
className ?: string
11
11
/**
12
12
* Indicators section user classes. [docs]
13
- *
14
- * @type string
15
13
*/
16
14
indicatorsClass ?: string
17
15
}
You can’t perform that action at this time.
0 commit comments