react-title-case

1.0.1 • Public • Published

React Title Case

Convert a string to Title Case yohix love githubYohix Love Github

CI Version Downloads Install size

NPM

Try in CodeSandbox

Edit react-camelcase

Install

$ npm install react-title-case

Usage

import TitleCase from 'react-title-case';
 
const App = () => (
  <div>
    <TitleCase string={'yohix love github'} />
  </div>
);
 
// => 'Yohix Love Github'

API

string={input}

Type: string

<TitleCase string={'yohix love github'} />
 
// => 'Yohix Love Github'

Modules used

  • title-case - Transform a string into title case following English rules.

License

MIT © Yohix

Package Sidebar

Install

npm i react-title-case

Weekly Downloads

9

Version

1.0.1

License

MIT

Unpacked Size

16.5 kB

Total Files

5

Last publish

Collaborators

  • yohix