Skip to content

Commit 6c6326f

Browse files
updated docs
1 parent 146aae2 commit 6c6326f

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

docs/components_page/components/carousel.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,4 @@ The controls in the Bootstrap carousel are images that have a white background.
6969
```
7070

7171
{{apidoc:src/components/Carousel.js}}
72-
73-
### Items
74-
`items` is a list of dictionaries that defines what is displayed on the slides in the Carousel. It has the following keys:
75-
- `key` (string):A unique identifier for the component, used to improve performance by React.js while rendering components See https://reactjs.org/docs/lists-and-keys.html for more info.
76-
- `src` (string): The URL of the image.
77-
- `alt` (string):The alternate text for an image, if the image cannot be displayed.
78-
- `imgClassName`(string): The className for the image. The default is `d-block w-100`.
79-
- `img_style`(dict): The CSS style of the image.
80-
- `header` (string): The header of the text on the slide. It is displayed in a `<h5>` element.
81-
- `caption` (string): The caption of the item. The text is displayed in a `<p>` element.
82-
- `captionClassName`(string): The className for the header and caption container
8372

docs/components_page/components/carousel/controls.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@
55
{"key": "1", "src": "/static/images/slide1.svg"},
66
{"key": "2", "src": "/static/images/slide2.svg"},
77
{"key": "3", "src": "/static/images/slide3.svg"},
8-
]
8+
],
9+
controls=True,
10+
indicators=False
911
)

0 commit comments

Comments
 (0)