UNPKG
@talend/react-bootstrap
Version:
latest (3.0.4)
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.3.0
2.2.3
2.2.2
2.2.1
2.2.0
2.1.1
2.1.0
2.0.0
1.35.2
1.35.1
1.35.0
1.34.0
Bootstrap 3 components built with React
react-bootstrap.github.io
react-bootstrap/react-bootstrap
@talend/react-bootstrap
/
lib
/
utils
/
capitalize.js
10 lines
(9 loc)
•
244 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
= capitalize;
function
capitalize
(
string
) {
return
`
${
string
.charAt(
0
).toUpperCase()}
${
string
.slice(
1
)}
`
; }
//# sourceMappingURL=capitalize.js.map