import { StyleProp, ViewStyle } from 'react-native'; import WebView, { type WebViewMessageEvent } from 'react-native-webview'; import type { RefObject } from 'react'; import MAT_DASHBOARD_HTML from '@/assets/webview/mat-dashboard.html'; type MatWebViewProps = { webViewRef: RefObject; onMessage: (event: WebViewMessageEvent) => void; style?: StyleProp; }; export const MatWebView = ({ webViewRef, onMessage, style }: MatWebViewProps) => { return ( ); };