import { ComponentStory, ComponentMeta } from '@storybook/react';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { BrowserRouter } from 'react-router-dom';
import { BottomBar } from './index';

export default {
  title: 'App Components/Bottom Bar',
  component: BottomBar,
} as ComponentMeta<typeof BottomBar>;

export const Interactive: ComponentStory<typeof BottomBar> = (args) => {
  return (
    <BrowserRouter>
      <SafeAreaProvider>
        <BottomBar {...args} />
      </SafeAreaProvider>
    </BrowserRouter>
  );
};

Interactive.args = {};
