This is free and open-source react-js npm package.
- Capitalize to text first letter
how to install
npm i up-first-letter
How to use this package in our project. Follow These step
import { Capitalize } from "up-first-letter";
Call that as a component: (React.js)
<p>Food that is {<Capitalize str='delivered' />} at the right time.</p>
Food that is Delivered
at the right time.