UNPKG
react-box-overflow
Version:
latest (0.0.1)
0.0.1
Headless UI for automatically collapsing boxes when overflow in React.
react-box-overflow
/
dist
/
cjs
/
utils.cjs
8 lines
(7 loc)
•
270 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
"use strict"
;
Object
.
defineProperty
(
exports
,
Symbol
.
toStringTag
, {
value
:
"Module"
});
function
capitalizeFirstLetter
(
str
) {
return
str.
charAt
(
0
).
toUpperCase
() + str.
slice
(
1
); }
exports
.
capitalizeFirstLetter
= capitalizeFirstLetter;
//# sourceMappingURL=utils.cjs.map