import { ComponentStory, ComponentMeta } from '@storybook/react';
import { Container } from 'components/layout';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { ChatInput } from './index';

export default {
  title: 'App Components/ Chat /Input',
  component: ChatInput,
  argTypes: {
    variant: {
      options: ['typing', 'audio-recording', 'video-recording', 'file-uploading'],
      control: { type: 'select' },
    },
  },
} as ComponentMeta<typeof ChatInput>;

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

Interactive.args = {};
