WebViewSource
The URL a WebView loads (src), with its request headers if it needs any.
Usage
Embed a hosted help page
This type is used by WebView
import { WebView } from 'kuito';
export default function Help() {
return <WebView flex={1} src="https://example.com/help" />;
}Type declaration
export type WebViewSource = string | { uri: string; headers?: Record<string, string> };Type
string | { uri: string; headers?: Record<string, string>;}Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.