import React from "react";
import { WebView } from "react-native-webview";

export interface IWebViewProps {
  src: string;
}

export const AtomWebView = ({ src }: IWebViewProps) => (
  <WebView source={{ uri: src }} style={{ flex: 1 }} />
);
