React camelCase
Convert a dash/dot/underscore/space separated string to camelCase:
foo-bar
→fooBar
Try in CodeSandbox
Install
$ npm install react-camelcase
Usage
; const App = <div> <CamelCase string='foo-bar' /> </div>; //=> 'fooBar'
API
input
Type: string
License
MIT © Yohix