WebViewSource
The URL a WebView loads (src), with its request headers if it needs any.
Utilização
Embed a hosted help page
Este tipo é usado por WebView
import { WebView } from 'kuito';
export default function Help() {
return <WebView flex={1} src="https://example.com/help" />;
}Declaração do tipo
export type WebViewSource = string | { uri: string; headers?: Record<string, string> };Tipo
string | { uri: string; headers?: Record<string, string>;}Gerado a partir das declarações TypeScript públicas: assinaturas, props e predefinições vêm da fonte verificada, as descrições da sua JSDoc. Nenhuma predefinição é inventada.