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

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

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

Interactive.args = {};
