mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a3c6e1da10
Summary: This is very much a work in progress. Moving it into the open source repo to be able to hook it up to generate some Fabric files. Will continue to iterate on it in the open. Reviewed By: hramos, mdvacca Differential Revision: D13500969 fbshipit-source-id: 79082447dc52b5834f24eb72bc6e07200b324238
20 lines
386 B
JavaScript
20 lines
386 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @flow strict
|
|
* @format
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
function upperCaseFirst(inString: string): string {
|
|
return inString[0].toUpperCase() + inString.slice(1);
|
|
}
|
|
|
|
module.exports = {
|
|
upperCaseFirst,
|
|
};
|