# React camelCase

> Convert a dash/dot/underscore/space separated string to camelCase: `foo-bar` → `fooBar`

[![Version](http://img.shields.io/npm/v/react-camelcase.svg?style=flat)](https://badge.fury.io/js/react-camelcase)
[![CI](https://github.com/yohix/react-camelcase/workflows/CI/badge.svg)](https://github.com/yohix/react-camelcase/actions)
[![Publish](https://github.com/yohix/react-camelcase/workflows/Publish/badge.svg)](https://github.com/yohix/react-camelcase/actions)
[![Downloads](https://img.shields.io/npm/dm/react-camelcase.svg)](https://npmjs.com/react-camelcase)
[![Install size](https://badgen.net/packagephobia/install/react-camelcase)](https://packagephobia.now.sh/result?p=react-camelcase)

[![NPM](https://nodei.co/npm/react-camelcase.png?downloads=true)](https://nodei.co/npm/react-camelcase)

## Try in CodeSandbox

[![Edit react-camelcase](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/react-camelcase-b5g5g?fontsize=14&hidenavigation=1&theme=dark)

## Install

```
$ npm install react-camelcase
```

## Usage

```js
import CamelCase from 'react-camelcase';

const App = () => (
  <div>
    <CamelCase string={'foo-bar'} />
  </div>
);

//=> 'fooBar'
```

## API

### <CamelCase string={} />

#### input

Type: `string`

## License

MIT © [Yohix](LICENSE)
