chore: Added capitalize method to utils
This commit is contained in:
parent
ea7ff95790
commit
1066907fd2
1 changed files with 2 additions and 0 deletions
|
@ -74,3 +74,5 @@ export const optionType = option => {
|
|||
return 'constant'
|
||||
}
|
||||
|
||||
export const capitalize = string => string.charAt(0).toUpperCase() + string.slice(1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue