Skip to content

Commit b50f48e

Browse files
committed
Some typos
1 parent 36f036e commit b50f48e

File tree

21 files changed

+53
-52
lines changed

21 files changed

+53
-52
lines changed

src/components/badge/Badge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Badge.propTypes = {
9898
pill: PropTypes.bool,
9999

100100
/**
101-
* Additional inline CSS styles to apply to the Badge..
101+
* Additional inline CSS styles to apply to the Badge.
102102
*/
103103
style: PropTypes.object,
104104

src/components/button/Button.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ Button.propTypes = {
103103
external_link: PropTypes.bool,
104104

105105
/**
106-
* Additional CSS classes to apply to the Component
106+
* Additional CSS classes to apply to the Button.
107107
*/
108108
class_name: PropTypes.string,
109109

110110
/**
111-
* Additional inline CSS styles to apply to the Component.
111+
* Additional inline CSS styles to apply to the Button.
112112
*/
113113
style: PropTypes.object,
114114

@@ -184,7 +184,7 @@ Button.propTypes = {
184184
/**
185185
* **DEPRECATED** Use `class_name` instead.
186186
*
187-
* Additional CSS classes to apply to the Component
187+
* Additional CSS classes to apply to the Button
188188
*/
189189
className: PropTypes.string,
190190

src/components/carousel/Carousel.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import Link from '../../private/Link';
88
import {getLoadingState} from '../../private/util';
99

1010
/**
11-
* Component for creating Bootstrap carousel. This component is a slideshow
11+
* Carousel. for creating Bootstrap carousel. This component is a slideshow
1212
* for cycling through a series of content.
1313
*/
1414
function Carousel({
@@ -188,7 +188,8 @@ Carousel.propTypes = {
188188
style: PropTypes.object,
189189

190190
/**
191-
* Defines the className of the carousel container. Additional CSS classes to apply to the Component
191+
* Defines the className of the carousel container. Additional CSS classes to apply to
192+
* the Carousel.
192193
*/
193194
class_name: PropTypes.string,
194195

@@ -230,7 +231,7 @@ Carousel.propTypes = {
230231
/**
231232
* **DEPRECATED** Use `class_name` instead.
232233
*
233-
* efines the className of the carousel container. Additional CSS classes to apply to the Component
234+
* efines the className of the carousel container. Additional CSS classes to apply to the Carousel.
234235
*/
235236
className: PropTypes.string,
236237

src/components/collapse/Collapse.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const Collapse = React.forwardRef(function Collapse(
4242

4343
Collapse.propTypes = {
4444
/**
45-
* The children of the Collapse..
45+
* The children of the Collapse.
4646
*/
4747
children: PropTypes.node,
4848

@@ -68,12 +68,12 @@ Collapse.propTypes = {
6868
navbar: PropTypes.bool,
6969

7070
/**
71-
* Additional inline CSS styles to apply to the Component.
71+
* Additional inline CSS styles to apply to the Collapse.
7272
*/
7373
style: PropTypes.object,
7474

7575
/**
76-
* Additional CSS classes to apply to the Component
76+
* Additional CSS classes to apply to the Collapse.
7777
*/
7878
class_name: PropTypes.string,
7979

@@ -93,7 +93,7 @@ Collapse.propTypes = {
9393
/**
9494
* **DEPRECATED** Use `class_name` instead.
9595
*
96-
* Additional CSS classes to apply to the Component
96+
* Additional CSS classes to apply to the Collapse.
9797
*/
9898
className: PropTypes.string,
9999

src/components/input/Checklist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Checklist.propTypes = {
159159
* ```
160160
* [
161161
* {"label": "label1", "value": "value1"},
162-
* {"label": "label2", "value": "value2"}, ...
162+
* {"label": "label2", "value": "value2"},
163163
* ]
164164
* ```
165165
*/

src/components/input/RadioItems.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ RadioItems.propTypes = {
150150
* ```
151151
* [
152152
* {"label": "label1", "value": "value1"},
153-
* {"label": "label2", "value": "value2"}, ...
153+
* {"label": "label2", "value": "value2"},
154154
* ]
155155
* ```
156156
*/
@@ -169,7 +169,7 @@ RadioItems.propTypes = {
169169
* which is equal to
170170
* [
171171
* {label: `label1`, value: `value1`},
172-
* {label: `label2`, value: `value2`}, ...
172+
* {label: `label2`, value: `value2`},
173173
* ]
174174
*/
175175
PropTypes.object,

src/components/input/Select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Select.propTypes = {
9191
* ```
9292
* [
9393
* {"label": "label1", "value": "value1"},
94-
* {"label": "label2", "value": "value2"}, ...
94+
* {"label": "label2", "value": "value2"},
9595
* ]
9696
* ```
9797
*/
@@ -110,7 +110,7 @@ Select.propTypes = {
110110
* which is equal to
111111
* [
112112
* {label: `label1`, value: `value1`},
113-
* {label: `label2`, value: `value2`}, ...
113+
* {label: `label2`, value: `value2`},
114114
* ]
115115
*/
116116
PropTypes.object,

src/components/layout/Container.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ Container.propTypes = {
4545
fluid: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
4646

4747
/**
48-
* Additional inline CSS styles to apply to the Component.
48+
* Additional inline CSS styles to apply to the Container.
4949
*/
5050
style: PropTypes.object,
5151

5252
/**
53-
* Additional CSS classes to apply to the Component
53+
* Additional CSS classes to apply to the Container.
5454
*/
5555
class_name: PropTypes.string,
5656

@@ -70,7 +70,7 @@ Container.propTypes = {
7070
/**
7171
* **DEPRECATED** Use `class_name` instead.
7272
*
73-
* Additional CSS classes to apply to the Component
73+
* Additional CSS classes to apply to the Container.
7474
*/
7575
className: PropTypes.string,
7676

src/components/modal/ModalBody.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ ModalBody.propTypes = {
3535
id: PropTypes.string,
3636

3737
/**
38-
* Additional inline CSS styles to apply to the Component.
38+
* Additional inline CSS styles to apply to the ModalBody.
3939
*/
4040
style: PropTypes.object,
4141

4242
/**
43-
* Additional CSS classes to apply to the Component
43+
* Additional CSS classes to apply to the ModalBody.
4444
*/
4545
class_name: PropTypes.string,
4646

@@ -52,7 +52,7 @@ ModalBody.propTypes = {
5252
/**
5353
* **DEPRECATED** Use `class_name` instead.
5454
*
55-
* Additional CSS classes to apply to the Component
55+
* Additional CSS classes to apply to the ModalBody.
5656
*/
5757
className: PropTypes.string,
5858

src/components/nav/Navbar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ Navbar.propTypes = {
8686
expand: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),
8787

8888
/**
89-
* Additional inline CSS styles to apply to the Component.
89+
* Additional inline CSS styles to apply to the Navbar.
9090
*/
9191
style: PropTypes.object,
9292

9393
/**
94-
* Additional CSS classes to apply to the Component
94+
* Additional CSS classes to apply to the Navbar.
9595
*/
9696
class_name: PropTypes.string,
9797

@@ -116,7 +116,7 @@ Navbar.propTypes = {
116116
/**
117117
* **DEPRECATED** Use `class_name` instead.
118118
*
119-
* Additional CSS classes to apply to the Component
119+
* Additional CSS classes to apply to the Navbar.
120120
*/
121121
className: PropTypes.string,
122122

0 commit comments

Comments
 (0)