## 📦 Install

```bash
npm install tgl-focus-navigation
```

```bash
yarn add tgl-focus-navigation
```

## 🔨 Usage

```tsx
import useFocusNavigation from "tgl-focus-navigation";

export default () => {
  const focusNextElementContainer = useFocusNavigation(true);

  return (
    <div ref={focusNextElementContainer}>
      <Input />
      <DatePicker placeholder="select date" />
      <Button type="primary">PRESS ME</Button>
    </div>
  );
};
```

## ⚙️ Props

| Prop                | Type    | Default | Description                    |
| ------------------- | ------- | ------- | ------------------------------ |
| isFocusFirstElement | boolean | false   | Focus first element by default |
