# Use-Locomotive

JSX wrapper for Locomotive Scroll.<br />

## Download

npm:
```bash
npm install use-locomotive --save
```
yarn:
```bash
yarn add use-locomotive
```

## Usage

```jsx
import useLocomotive from "use-locomotive";

const App = () => {
  const loco = useLocomotive();
  
  return (
    <loco.div container smooth>
      <loco.div section>
        <loco.h1 scroll speed={2}>
          HELLO WORLD
        </loco.h1>
      </loco.div>
    </loco.div>
  )
}
```
