import * as React from 'react' ; import createHostComponent from '../../createHostComponent' ; import { Event } from '../../types' ; export interface WebViewProps extends React . AriaAttributes { id ? : string ; src : string ; onMessage ? : ( event : Event ) => void ; } const WebView = createHostComponent < WebViewProps > ( 'web-view' , null ) ; export default WebView ;