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

export default {
  title: 'App Components/Dashboard/New',
  component: New,
} as ComponentMeta<typeof New>;

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

Interactive.args = {};
