import { Meta, Story, ArgsTable, Canvas } from '@storybook/blocks';
import { TableContentFromObject, FormOutput } from '../../../../../tools/docTools';
import HeaderNavigationBar from '../HeaderNavigationBar';
import { headerNavigationBarDataMock } from '../../../../../../mocks/components/header';
import * as HeaderNavigationBarStories from './HeaderNavigationBar.stories';

export const settingsDocs = {};

<Meta of={HeaderNavigationBarStories} />

# HeaderNavigationBar

<br />

## `HeaderNavigationBar` are used as the navigation in the header.

<br />

### Default

<Canvas>
  <Story of={HeaderNavigationBarStories.Default} />
</Canvas>

### With category menu

<Canvas>
  <Story of={HeaderNavigationBarStories.WithCategoryMenu} />
</Canvas>

### With search bar

<Canvas>
  <Story of={HeaderNavigationBarStories.WithSearchBar} />
</Canvas>

## Usage Example

```jsx
import HeaderNavigationBar from
    '@appdirect/sfb-theme-components/src/components/header/atoms/header-navigation-bar/HeaderNavigationBar';

<HeaderNavigationBar />
```

## Props

<ArgsTable of={HeaderNavigationBar} />

## Schema

### Form Settings

<table>
  <TableContentFromObject obj={settingsDocs} />
</table>

### Form Output

<FormOutput code={HeaderNavigationBar.schema().form} />
