import React from 'react';
import { Meta, Story } from '@storybook/react';
import { AtomWebView, IWebViewProps } from 'native/atoms/WebView';

const meta: Meta = {
  title: 'React Native/atoms',
  component: AtomWebView,
  argTypes: {},
  parameters: {
    controls: { expanded: true },
  },
};

export default meta;

const TemplateWebView: Story<IWebViewProps> = (props) => <AtomWebView {...props} />;

export const WebView = TemplateWebView.bind({});

WebView.args = {
  src: 'https://www.familytalkaboutdrinking.com'
};